Category / Section
How to set the Orientation of the SpinButton in DomainUpDownExt?
1 min read
To set the SpinButton orientation of the DomainUpDownExt, set the SpinOrientation property as Horizontal or vertical. Refer to the below given code snippet.
C#
//Sets the SpinOrientation as Horizontal
this.domainUpDownExt1.SpinOrientation = System.Windows.Forms.Orientation.Horizontal;
//Sets the SpinOrientation as Vertical
this.domainUpDownExt1.SpinOrientation = System.Windows.Forms.Orientation.Vertical;
VB
'Sets the SpinOrientation as Horizontal
Me.domainUpDownExt1.SpinOrientation = System.Windows.Forms.Orientation.Horizontal
'Sets the SpinOrientation as Vertical
Me.domainUpDownExt1.SpinOrientation = System.Windows.Forms.Orientation.Vertical