AddInCommandBinding Class


Add In Command Binding Class

This object represents a binding between a Revit command and one or more handlers which override the behavior of the command in Revit.
Inheritance Hierarchy
System Object
Autodesk.Revit.UI AddInCommandBinding

Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class AddInCommandBinding

The AddInCommandBinding type exposes the following members.

Properties
Name Description
Public property RevitCommandId The Revit command Id.
Top
Methods
Name Description
Public method Equals Determines whether the specified object is equal to the current object.
(Inherited from Object )
Public method GetHashCode Serves as the default hash function.
(Inherited from Object )
Public method GetType Gets the Type of the current instance.
(Inherited from Object )
Public method ToString Returns a string that represents the current object.
(Inherited from Object )
Top
Events
Name Description
Public event BeforeExecuted Occurs before the command associated with this AddInCommandBinding executes.
Public event CanExecute Occurs when the command associated with this AddInCommandBinding initiates a check to determine whether the command can be executed on the command target.
Public event Executed Occurs when the command associated with this AddInCommandBinding executes.
Top
See Also