Share via


ContextMenuAdapter.GetShowContextMenuCommand Method

Namespace:  Microsoft.TeamFoundation.Controls.WPF
Assembly:  Microsoft.TeamFoundation.Controls (in Microsoft.TeamFoundation.Controls.dll)

Syntax

'Declaration
Public Shared Function GetShowContextMenuCommand ( _
    target As UIElement _
) As ICommand
public static ICommand GetShowContextMenuCommand(
    UIElement target
)
public:
static ICommand^ GetShowContextMenuCommand(
    UIElement^ target
)
static member GetShowContextMenuCommand : 
        target:UIElement -> ICommand
public static function GetShowContextMenuCommand(
    target : UIElement
) : ICommand

Parameters

Return Value

Type: System.Windows.Input.ICommand
Returns ICommand.

.NET Framework Security

See Also

Reference

ContextMenuAdapter Class

Microsoft.TeamFoundation.Controls.WPF Namespace