Skip to content

DockablePaneProviderData.GetFrameworkElement

Public Class

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.