WindowHelper::GetFrameworkElementFromUIElement Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Creates a FrameworkElement from the specified UI element.

Namespace:  Microsoft.Internal.VisualStudio.PlatformUI
Assemblies:   Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

public:
static FrameworkElement^ GetFrameworkElementFromUIElement(
	IVsUIElement^ element
)

Parameters

element
Type: Microsoft.VisualStudio.Shell.Interop::IVsUIElement

The UI element from which to get a FrameworkElement.

Return Value

Type: System.Windows::FrameworkElement
The framework element of the UI object.

Show: