Spread Windows Forms 15.0
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / SymbolButton Class / Behavior Property


In This Topic
    Behavior Property (SymbolButton)
    In This Topic
    Gets or sets the behavior when click the SymbolButton.
    Syntax
    'Declaration
     
    
    Public Property Behavior As SideButtonBehavior
    'Usage
     
    
    Dim instance As SymbolButton
    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 SymbolButton, it will do spin up behavior, SideButtonBehavior.SpinDown means when click the SymbolButton, it will do spin down behavior.
    Remarks
    When set as SideButtonBehavior.SpinUp, Symbol property will be forced changed to Symbols.Arrow, SymbolDirection property will be forced changed to SymbolDirection.Up, Interval property will be forced changed to 60. When set as SideButtonBehavior.SpinDown, Symbol property will be forced changed to Symbols.Arrow, SymbolDirection property will be forced changed to SymbolDirection.Down, Interval property will be forced changed to 60. When set as SideButtonBehavior.None, Symbol property will be forced changed to Symbols.None, SymbolDirection property will be forced changed to SymbolDirection.Left, Interval property will be forced changed to 0.
    See Also