Visual Basic (Declaration) | |
---|---|
Public Property Behavior As SideButtonBehavior |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As SymbolButton Dim value As SideButtonBehavior instance.Behavior = value value = instance.Behavior |
C# | |
---|---|
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.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.
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8