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


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

    Property Value

    A SideButtonBehavior enumeration, SideButtonBehavior.SpinUp means when click the SideButton, it will do spin up behavior, SideButtonBehavior.SpinDown means when click the SideButton, it will do spin down behavior.
    Remarks
    When set as SideButtonBehavior.SpinUp, Text property will be forced changed to "+", Interval property will be forced changed to 60. When set as SideButtonBehavior.SpinDown, Text property will be forced changed to "-", Interval property will be forced changed to 60. When set as SideButtonBehavior.None, Text property will be forced changed to System.String.Empty, Interval property will be forced changed to 0.
    See Also