<Code Lib>
2026 Event
Changes 0
E

UIControlledApplication.DockableFrameVisibilityChanged

Description:
Subscribe to GenericDockableFrame showing or hiding event to be notified when Revit GenericDockableFrame is showing or hiding.
Remarks:

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.

public event EventHandler<DockableFrameVisibilityChangedEventArgs> DockableFrameVisibilityChanged

Loading…