Windows Dev Center

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation

[BindableAttribute(true)]
public int Delay { get; set; }
<object Delay="int" .../>

Property Value

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

Identifier field

DelayProperty

Metadata properties set to true

None

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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft