CanExecuteEventArgs
Description:
The event arguments used by AddInCommandBinding's CanExecute event.
The event arguments used by AddInCommandBinding's CanExecute event.
Inheritance Hierarchy:
System.Object
System.EventArgs
Autodesk.Revit.DB.Events.RevitEventArgs
Autodesk.Revit.UI.Events.CommandEventArgs
Autodesk.Revit.UI.Events.CanExecuteEventArgs
System.Object
System.EventArgs
Autodesk.Revit.DB.Events.RevitEventArgs
Autodesk.Revit.UI.Events.CommandEventArgs
Autodesk.Revit.UI.Events.CanExecuteEventArgs
public class CanExecuteEventArgs : CommandEventArgs
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| GetSelectedCategoryIds() | ICollection<ElementId> | Gets the category ids of selected elements. |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| CanExecute | bool | The value that indicates whether the Command associated with this event can be executed. | |
| IsChecked | bool | The value that indicates whether the UI associated with the Command associated with this event is in a checked state. | |
| 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 |