FrameworkElement Property


The Windows Presentation Framework object containing the pane's user interface.

Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 18.0.0.0 (18.2.0.0)
Since: 2014

Syntax

C#
public FrameworkElement FrameworkElement { get; set; }
Visual Basic
Public Property FrameworkElement As FrameworkElement
	Get
	Set
Visual C++
public:
property FrameworkElement^ FrameworkElement {
	FrameworkElement^ get ();
	void set (FrameworkElement^ value);
}

Remarks

Using a System.Windows.Controls.Page is recommended. This can be null, in which case it is assumed an IFrameworkElementCreator is provided to create the element on demand.

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 →