Interval Property
Collapse the table of content
Expand the table of content

DispatcherTimer.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 amount of time between timer ticks.

Namespace:  System.Windows.Threading
Assembly:  System.Windows (in System.Windows.dll)

'Declaration
Public Property Interval As TimeSpan

Property Value

Type: System.TimeSpan
The amount of time between ticks. The default is 00:00:00.

ExceptionCondition
ArgumentOutOfRangeException

The specified value when setting this property represents a negative time interval.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft