| Visual Basic (Declaration) | |
|---|---|
<CategoryAttribute("Behavior")> <DefaultValueAttribute()> <DescriptionAttribute("Controls whether the Timer is stopped or started.")> Public Property Enabled As Boolean | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As LiveTimer Dim value As Boolean instance.Enabled = value value = instance.Enabled | |
| C# | |
|---|---|
[CategoryAttribute("Behavior")] [DefaultValueAttribute()] [DescriptionAttribute("Controls whether the Timer is stopped or started.")] public bool Enabled {get; set;} | |
| C++/CLI | |
|---|---|
[CategoryAttribute("Behavior")] [DefaultValueAttribute()] [DescriptionAttribute("Controls whether the Timer is stopped or started.")] public: property bool Enabled { bool get(); void set ( bool value); } | |
Property Value
true if the timer is currently enabled; otherwise, false. The default is false.Use this property to start the timer.
LiveTimer.Start sets Enabled to true, LiveTimer.Stop sets Enabled to false.
Target Platforms: Microsoft .NET Framework 2.0
Copy Code