Delay Property
Collapse the table of content
Expand the table of content

RepeatButton.Delay Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets or sets the time, in milliseconds, the RepeatButton waits when it is pressed before it starts repeating the click action.

Namespace:  System.Windows.Controls.Primitives
Assembly:  System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.

'Declaration
Public Property Delay As Integer
<RepeatButton Delay="int"/>

Property Value

Type: System.Int32
The time, in milliseconds, the RepeatButton waits when it is pressed before it starts repeating the click action. The default is 250.

ExceptionCondition
ArgumentException

Delay is set to a value less than 0.

Dependency property identifier field: DelayProperty

The value must be non-negative.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft