Condividi tramite


Metodo WindowHelper.GetFrameworkElementFromUIElement

Crea un oggetto FrameworkElement dall'elemento dell'interfaccia utente specificato.

Spazio dei nomi:  Microsoft.Internal.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Sintassi

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

Parametri

Valore restituito

Tipo: System.Windows.FrameworkElement
L'elemento framework dell'oggetto dell'interfaccia utente.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

WindowHelper Classe

Spazio dei nomi Microsoft.Internal.VisualStudio.PlatformUI