Share via


DispatcherQueueTimer.IsRepeating Property

Definition

Indicates whether the timer is repeating.

public:
 property bool IsRepeating { bool get(); void set(bool value); };
bool IsRepeating();

void IsRepeating(bool value);
public bool IsRepeating { get; set; }
var boolean = dispatcherQueueTimer.isRepeating;
dispatcherQueueTimer.isRepeating = boolean;
Public Property IsRepeating As Boolean

Property Value

Boolean

bool

true indicates that the timer fires every DispatcherQueueTimer.Interval; false means that it fires once, after DispatcherQueueTimer.Interval elapses.

Remarks

The default value of IsRepeating is true. If you change the IsRepeating value while the timer is running, the timer will restart with the new value.

Applies to