Visual Basic (Declaration) | |
---|---|
Public Property Behavior As SideButtonBehavior |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As SideButton 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 SideButton, it will do spin up behavior, SideButtonBehavior.SpinDown means when click the SideButton, it will do spin down behavior.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.
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8