Slider.Delay Property

 

Gets or sets the amount of time in milliseconds that a RepeatButton waits, while it is pressed, before a command to move the Thumb executes, such as a DecreaseLarge command.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

<BindableAttribute(True)>
Public Property Delay As Integer

Property Value

Type: System.Int32

A time delay in milliseconds. The default is the system key press delay. For more information, see KeyboardDelay.

This property is used when a RepeatButton is included in the style for a Slider.The default style for the Slider includes two invisible RepeatButton controls that use the space between the Thumb and each end of the Track. When you press one of the invisible buttons, the Slider responds by moving the Thumb in that direction after the Delay property is applied.

Identifier field

DelayProperty

Metadata properties set to true

None

.NET Framework
Available since 3.0
Return to top
Show: