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, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft