Bewerken

Delen via


Slider.Delay Property

Definition

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.

public:
 property int Delay { int get(); void set(int value); };
[System.ComponentModel.Bindable(true)]
public int Delay { get; set; }
[<System.ComponentModel.Bindable(true)>]
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.

Attributes

Remarks

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