Share

AddInCommandBinding 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: 26.2.0.0 (26.2.0.0)

Syntax

C#

public class AddInCommandBinding

The AddInCommandBinding type exposes the following members.

Properties

 NameDescription
Public propertyRevitCommandIdThe Revit command Id.

Methods

 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)

Events

 NameDescription
Public eventBeforeExecutedOccurs before the command associated with this AddInCommandBinding executes.
Public eventCanExecuteOccurs when the command associated with this AddInCommandBinding initiates a check to determine whether the command can be executed on the command target.
Public eventExecutedOccurs when the command associated with this AddInCommandBinding executes.

See Also

Reference

Was this information helpful?