Export (0) Print
Expand All

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. This is a dependency property.

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.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0

Community Additions

ADD
Show:
© 2014 Microsoft