BeforeExecutedEventArgs
Description:
The event arguments used by AddInCommandBinding's BeforeExecuted event.
The event arguments used by AddInCommandBinding's BeforeExecuted event.
Remarks:
This event is cancellable. If your callback sets the Cancel property to true, the command will not execute.
This event is cancellable. If your callback sets the Cancel property to true, the command will not execute.
Inheritance Hierarchy:
System.Object
System.EventArgs
Autodesk.Revit.DB.Events.RevitEventArgs
Autodesk.Revit.UI.Events.CommandEventArgs
Autodesk.Revit.UI.Events.BeforeExecutedEventArgs
System.Object
System.EventArgs
Autodesk.Revit.DB.Events.RevitEventArgs
Autodesk.Revit.UI.Events.CommandEventArgs
Autodesk.Revit.UI.Events.BeforeExecutedEventArgs
public class BeforeExecutedEventArgs : CommandEventArgs
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| UsingCommandData | bool | Indicates whether or not the Revit journal will include custom data populated by the application associated with this command. | |
| Cancellable | bool | Indicates whether an event may be cancelled by an event delegate. | RevitEventArgs |
| Cancel | bool | Indicates whether the event is being cancelled. When the event is cancellable, set the property to True to cancel it. | RevitEventArgs |
| ActiveDocument | Document | The active document. | CommandEventArgs |
| CommandId | RevitCommandId | The command id. | CommandEventArgs |