RVTDocs.com

BeforeExecutedEventArgs

Class
Description:
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.
Inheritance Hierarchy:
System.Object
  System.EventArgs
    Autodesk.Revit.DB.Events.RevitEventArgs
      Autodesk.Revit.UI.Events.CommandEventArgs
        Autodesk.Revit.UI.Events.BeforeExecutedEventArgs
Syntax
public class BeforeExecutedEventArgs : CommandEventArgs