PowerWEB LiveControls for ASP.NET
Enabled Property
See Also  Send comments on this topic.
Dart.LiveControls Namespace > LiveTimer Class : Enabled Property



Gets or sets whether the timer is running.

Syntax

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.

Remarks

Use this property to start the timer.

LiveTimer.Start sets Enabled to true, LiveTimer.Stop sets Enabled to false.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

Documentation Version 4.0.2
© 2012 Dart Communications. All Rights Reserved.