Slider.Delay Slider.Delay Slider.Delay 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.

 property int Delay { int get(); void set(int value); };
public int Delay { get; set; }
member this.Delay : int with get, set
Public Property Delay As Integer

Property Value

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.

Dependency Property Information

Identifier field DelayProperty
Metadata properties set to true None

Applies to