RevitAPIPreEventArgs
Description:
The class is used as a base class for the arguments for any pre-event.
The class is used as a base class for the arguments for any pre-event.
Remarks:
A pre-event is the event raised before executing the process that was related with the event.
A pre-event is the event raised before executing the process that was related with the event.
Inheritance Hierarchy:
System.Object
System.EventArgs
Autodesk.Revit.DB.Events.RevitAPIEventArgs
Autodesk.Revit.DB.Events.RevitAPIPreEventArgs
Autodesk.Revit.DB.Events.DocumentCreatingEventArgs
Autodesk.Revit.DB.Events.DocumentOpeningEventArgs
Autodesk.Revit.DB.Events.LinkedResourceOpeningEventArgs
Autodesk.Revit.DB.Events.RevitAPIPreDocEventArgs
Autodesk.Revit.UI.Events.ApplicationClosingEventArgs
Autodesk.Revit.UI.Events.DialogBoxShowingEventArgs
Autodesk.Revit.UI.Events.DisplayingOptionsDialogEventArgs
Autodesk.Revit.UI.Events.FormulaEditingEventArgs
Autodesk.Revit.UI.Events.IdlingEventArgs
System.Object
System.EventArgs
Autodesk.Revit.DB.Events.RevitAPIEventArgs
Autodesk.Revit.DB.Events.RevitAPIPreEventArgs
Autodesk.Revit.DB.Events.DocumentCreatingEventArgs
Autodesk.Revit.DB.Events.DocumentOpeningEventArgs
Autodesk.Revit.DB.Events.LinkedResourceOpeningEventArgs
Autodesk.Revit.DB.Events.RevitAPIPreDocEventArgs
Autodesk.Revit.UI.Events.ApplicationClosingEventArgs
Autodesk.Revit.UI.Events.DialogBoxShowingEventArgs
Autodesk.Revit.UI.Events.DisplayingOptionsDialogEventArgs
Autodesk.Revit.UI.Events.FormulaEditingEventArgs
Autodesk.Revit.UI.Events.IdlingEventArgs
public class RevitAPIPreEventArgs : RevitAPIEventArgs
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| Cancel() | None | When the event is cancellable, may call the Cancel() method to cancel it. | |
| Dispose() | None | Releases all resources used by the | RevitAPIEventArgs |
| IsCancelled() | bool | Indicates whether the event is being cancelled. | RevitAPIEventArgs |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| Cancellable | bool | Indicates whether an event may be cancelled by an event delegate. | RevitAPIEventArgs |
| IsValidObject | bool | Specifies whether the .NET object represents a valid Revit entity. | RevitAPIEventArgs |