Spread Windows Forms 10.0 Product Documentation
Behavior Property (SideButton)


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.
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

SideButton Class
SideButton Members

 

 


Copyright © GrapeCity, inc. All rights reserved.