Namespace:
Autodesk.Revit.UI
AddInCommandBinding
Class
Description:
This object represents a binding between a Revit command and one or more handlers which override the behavior of the command in Revit.
This object represents a binding between a Revit command and one or more handlers which override the behavior of the command in Revit.
AddInCommandBinding Class Members:
| Name | Description | Inherited From |
|---|---|---|
| RevitCommandId | The Revit command Id. |
| Name | Description | Inherited From |
|---|---|---|
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object ) | Object |
| GetHashCode | Serves as the default hash function. (Inherited from Object ) | Object |
| GetType | Gets the Type of the current instance. (Inherited from Object ) | Object |
| ToString | Returns a string that represents the current object. (Inherited from Object ) | Object |
| Name | Description | Inherited From |
|---|---|---|
| BeforeExecuted | Occurs before the command associated with this AddInCommandBinding executes. | |
| CanExecute | Occurs when the command associated with this AddInCommandBinding initiates a check to determine whether the command can be executed on the command target. | |
| Executed | Occurs when the command associated with this AddInCommandBinding executes. |