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.
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.