Partager via


WindowHelper.GetFrameworkElementFromUIElement, méthode

Crée FrameworkElement de l'élément d'interface spécifié.

Espace de noms :  Microsoft.Internal.VisualStudio.PlatformUI
Assembly :  Microsoft.VisualStudio.Shell.11.0 (dans Microsoft.VisualStudio.Shell.11.0.dll)

Syntaxe

'Déclaration
Public Shared Function GetFrameworkElementFromUIElement ( _
    element As IVsUIElement _
) As FrameworkElement
public static FrameworkElement GetFrameworkElementFromUIElement(
    IVsUIElement element
)

Paramètres

Valeur de retour

Type : System.Windows.FrameworkElement
L'élément d'infrastructure de l'objet d'interface.

Sécurité .NET Framework

Voir aussi

Référence

WindowHelper Classe

Microsoft.Internal.VisualStudio.PlatformUI, espace de noms