UIApplication Events


The UIApplication type exposes the following members.

Events

Name Description
Public event ApplicationClosing
Subscribe to the ApplicationClosing event to be notified when the Revit application is just about to be closed.
Public event DialogBoxShowing
Subscribe to the DialogBoxShowing event to be notified when Revit is just about to show a dialog box or a message box.
Public event DisplayingOptionsDialog
Subscribe to the options dialog displaying event to be notified when Revit options dialog is displaying.
Public event DockableFrameFocusChanged
Subscribe to this event to be notified when a Revit GenericDockableFrame has gained focus or lost focus in the Revit user interface. This event is called only for API-created GenericDockableFrames.
Public event DockableFrameVisibilityChanged
Subscribe to this event to be notified when a Revit GenericDockableFrame has been shown or hidden in the Revit user interface. This event is called only for API-created GenericDockableFrames.
Public event FabricationPartBrowserChanged
Subscribe to MEP Fabrication part browser changed event to be notified when MEP Fabrication part browser is updated.
Public event Idling
Subscribe to the Idling event to be notified when Revit is not in an active tool or transaction.
Public event ViewActivated
Subscribe to the ViewActivated event to be notified immediately after Revit has finished activating a view of a document.
Public event ViewActivating
Subscribe to the ViewActivating event to be notified when Revit is just about to activate a view of a document.

See Also