Udostępnij za pośrednictwem


DispatcherTimer.IsEnabled Property

Definition

Gets a value that indicates whether the timer is running.

public:
 property bool IsEnabled { bool get(); };
bool IsEnabled();
public bool IsEnabled { get; }
var boolean = dispatcherTimer.isEnabled;
Public ReadOnly Property IsEnabled As Boolean

Property Value

Boolean

bool

true if the timer is enabled and running; otherwise, false.

Applies to