HasBinding Property


Indicates whether a replacement of either the Execute or CanExecute events (or both) have been applied to this command.

Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 17.0.0.0 (17.0.1090.0)
Since: 2013

Syntax

C#
public bool HasBinding { get; }
Visual Basic
Public ReadOnly Property HasBinding As Boolean
	Get
Visual C++
public:
property bool HasBinding {
	bool get ();
}

Remarks

This will not indicate if one or more applications have subscribed to the BeforeExecuted event, as this event is not limited to a single subscriber.

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 →