IsEnabled Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets or sets a value that indicates whether a particular DispatcherTimer object is currently running.

Namespace:  Microsoft.SPOT
Assembly:  Microsoft.SPOT.TinyCore (in Microsoft.SPOT.TinyCore.dll)

Syntax

'Declaration
Public Property IsEnabled As Boolean
public bool IsEnabled { get; set; }
public:
property bool IsEnabled {
    bool get ();
    void set (bool value);
}
member IsEnabled : bool with get, set
function get IsEnabled () : boolean
function set IsEnabled (value : boolean)

Property Value

Type: System. . :: . .Boolean
true if the timer is currently running; otherwise, false. The default value is false.

Remarks

The IsEnabled property must be set to true for the Tick event to be raised.

Calling the Start method sets the IsEnabled property to true. Invoking the Stop method sets the IsEnabled property to false.

.NET Framework Security

See Also

Reference

DispatcherTimer Class

Microsoft.SPOT Namespace