Share via


DispatcherTimer.Interval Property

Definition

Gets or sets the amount of time between timer ticks.

public:
 property TimeSpan Interval { TimeSpan get(); void set(TimeSpan value); };
TimeSpan Interval();

void Interval(TimeSpan value);
public System.TimeSpan Interval { get; set; }
var timeSpan = dispatcherTimer.interval;
dispatcherTimer.interval = timeSpan;
Public Property Interval As TimeSpan

Property Value

The amount of time between ticks. The default is a TimeSpan

with value evaluated as 00:00:00.

Applies to