CanExecute Property


The value that indicates whether the Command associated with this event can be executed.

Namespace: Autodesk.Revit.UI.Events
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 2015.0.0.0 (2015.0.0.0)
Since: 2013

Syntax

C#
public bool CanExecute { get; set; }
Visual Basic
Public Property CanExecute As Boolean
	Get
	Set
Visual C++
public:
property bool CanExecute {
	bool get ();
	void set (bool value);
}

See Also

ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →