ContextMenuAdapter.GetShowContextMenuCommand, méthode
Espace de noms : Microsoft.TeamFoundation.Controls.WPF
Assembly : Microsoft.TeamFoundation.Controls (dans Microsoft.TeamFoundation.Controls.dll)
Syntaxe
'Déclaration
Public Shared Function GetShowContextMenuCommand ( _
target As UIElement _
) As ICommand
public static ICommand GetShowContextMenuCommand(
UIElement target
)
Paramètres
- target
Type : System.Windows.UIElement
Valeur de retour
Type : System.Windows.Input.ICommand
retourne ICommand ;
Sécurité .NET Framework
- Confiance totale accordée à l'appelant immédiat. Ce membre ne peut pas être utilisé par du code d'un niveau de confiance partiel. Pour plus d'informations, consultez Utilisation de bibliothèques à partir de code d'un niveau de confiance partiel.