Gets or sets a value indicating whether this Tool is enabled.

Namespace:  ESRI.ArcGIS.Desktop.AddIns

Assembly:  ESRI.ArcGIS.Desktop.Addins (in ESRI.ArcGIS.Desktop.Addins.dll) Version: 10.0.0.0 (10.0.0.0)

Syntax

C#
protected bool Enabled { get; set; }
Visual Basic (Declaration)
Protected Property Enabled As Boolean
Visual C++
protected:
property bool Enabled {
	bool get ();
	void set (bool value);
}

Field Value

trueTruetruetrue (True in Visual Basic) if enabled; otherwise, falseFalsefalsefalse (False in Visual Basic).

Remarks

When creating a custom tool, set the Enabled property to specify if the tool should be enabled or not.

See Also