Version

SpinButtonUIElement Constructor(Orientation,UIElement,Int32,Int32,SpinButtonTypes,Int32,Int32,Boolean)

Constructor, initializes a new instance of the SpinButtonUIElement class.
Syntax
'Declaration
 
Public Function New( _
   ByVal orientation As Orientation, _
   ByVal parent As UIElement, _
   ByVal autoRepeatDelay As Integer, _
   ByVal initialDelay As Integer, _
   ByVal spinButtons As SpinButtonTypes, _
   Optional ByVal acceleratedInterval As Integer, _
   Optional ByVal accelerationThreshold As Integer, _
   Optional ByVal accelerationEnabled As Boolean _
)

Parameters

orientation
Orientation of the spin buttons.
parent
Parent UIElement
autoRepeatDelay
Interval between click event when holding down the mouse button over the element.
initialDelay
Interval before initiating the first autorepeat click.
spinButtons
Determines which spin buttons are displayed
acceleratedInterval
The delay between notifications when holding down the scroll button while the repeating is accelerated.
accelerationThreshold
The number of clicks that occur before the AutoRepeat is accelerated when the mouse is held down on the button.
accelerationEnabled
Whether acceleration of the spin buttons is enabled.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also