UIApplication Dockable |
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.
Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 25.0.0.0 (25.0.0.0)

public event EventHandler<DockableFrameVisibilityChangedEventArgs> DockableFrameVisibilityChanged
Value
EventHandler DockableFrameVisibilityChangedEventArgs
This event is raised when the GenericDockableFrame is just about to be shown or hidden.
Event is not cancellable. The 'Cancellable' property of event's argument is always False.
No document may be modified at the time of the event.
The following API functions are not available for the current document during this event:
- All overloads of Autodesk.Revit.DB.Document.Export()
- All overloads of Autodesk.Revit.DB.Document.Import()
- Autodesk::Revit::DB::Document::Print
- Print and similar overloads.
- SubmitPrint and similar overloads.
- Close and similar overloads.
- Save and similar overloads.
- SaveAs(String) and similar overloads.
Exception InvalidOperationException will be thrown if any of the above methods is called during this event.
