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
- target
Type: System.Windows.UIElement
Return Value
Type: System.Windows.Input.ICommand
Returns ICommand.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.