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


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