DispatcherQueueTimer.IsRepeating Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value that 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
to indicate that the timer fires every DispatcherQueueTimer.Interval; false
to indicate that the timer fires once, after DispatcherQueueTimer.Interval elapses. The default is true
.
Remarks
If you change the IsRepeating
value while the timer is running, the timer will restart with the new value.