<Code Lib>
2025.3 Event
Changes 0
E

UIControlledApplication.DockableFrameFocusChanged

Description:
Subscribe to GenericDockableFrame activated event to be notified when Revit GenericDockableFrame is active or inactive.
Remarks:

This event is raised when the GenericDockableFrame is just about to be active or inactive.

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<DockableFrameFocusChangedEventArgs> DockableFrameFocusChanged

Loading…