Spread Windows Forms 17
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / SideButtonInfo Class / Behavior Property


In This Topic
    Behavior Property (SideButtonInfo)
    In This Topic
    Gets or sets the behavior when clicking the SideButtonInfo.
    Syntax
    'Declaration
     
    
    Public Property Behavior As SideButtonBehavior
    'Usage
     
    
    Dim instance As SideButtonInfo
    Dim value As SideButtonBehavior
     
    instance.Behavior = value
     
    value = instance.Behavior
    public SideButtonBehavior Behavior {get; set;}

    Property Value

    A SideButtonBehavior enumeration, SideButtonBehavior.SpinUp means clicking the SideButtonInfo, causes spin up behavior, SideButtonBehavior.SpinDown means clicking the SideButtonInfo, causes spin down behavior.
    Remarks
    When set to SideButtonBehavior.SpinUp, the Text property is changed to "+", and the Interval property is changed to 60. When set to SideButtonBehavior.SpinDown, the Text property is changed to "-", and the Interval property is changed to 60. When set to SideButtonBehavior.None, the Text property is changed to System.String.Empty, and the Interval property is changed to 0.
    See Also