RepeatButton.Interval 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, between repetitions of the click action, as soon as repeating starts.

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

Syntax

Public Property Interval As Integer
public int Interval { get; set; }
<RepeatButton Interval="int"/>

Property Value

Type: System..::.Int32
The time, in milliseconds, between repetitions of the click action, as soon as repeating starts. The default is 250.

Exceptions

Exception Condition
ArgumentException

Interval is set to a value less than 0.

Remarks

Dependency property identifier field: IntervalProperty

The value must be non-negative.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

RepeatButton Class

System.Windows.Controls.Primitives Namespace

Button