GetFrameworkElement Method


Dockable Pane Provider Data Get Framework Element Method

Wrapper function that returns the FrameworkElement for this provider.

Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public FrameworkElement GetFrameworkElement()

Return Value

FrameworkElement
FrameworkElement to use as the pane's user interface.
Remarks
If an IFrameworkElementCreator is provided, that will be called to generate the element, otherwise, the FrameworkElement associated with the provider is returned.
See Also
ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →