AddInCommandBinding
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.
Inheritance Hierarchy:
System.Object
Autodesk.Revit.UI.AddInCommandBinding
System.Object
Autodesk.Revit.UI.AddInCommandBinding
public class AddInCommandBinding
| Name | Return Type | Description |
|---|---|---|
| BeforeExecuted | event | Occurs before the command associated with this AddInCommandBinding executes. |
| CanExecute | event | Occurs when the command associated with this AddInCommandBinding initiates a check to determine whether the command can be executed on the command target. |
| Executed | event | Occurs when the command associated with this AddInCommandBinding executes. |
| Name | Return Type | Description |
|---|---|---|
| RevitCommandId | RevitCommandId | The Revit command Id. |