Udostępnij za pośrednictwem


Metoda WindowHelper.GetFrameworkElementFromUIElement —

Tworzy FrameworkElement z określonego elementu interfejsu użytkownika.

Przestrzeń nazw:  Microsoft.Internal.VisualStudio.PlatformUI
Zestaw:  Microsoft.VisualStudio.Shell.11.0 (w Microsoft.VisualStudio.Shell.11.0.dll)

Składnia

'Deklaracja
Public Shared Function GetFrameworkElementFromUIElement ( _
    element As IVsUIElement _
) As FrameworkElement
public static FrameworkElement GetFrameworkElementFromUIElement(
    IVsUIElement element
)

Parametry

Wartość zwracana

Typ: System.Windows.FrameworkElement
Element ramy obiektu interfejsu użytkownika.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

WindowHelper Klasa

Przestrzeń nazw Microsoft.Internal.VisualStudio.PlatformUI