ContextMenuAdapter.SetShowContextMenuCommand Method
Namespace: Microsoft.TeamFoundation.Controls.WPF
Assembly: Microsoft.TeamFoundation.Controls (in Microsoft.TeamFoundation.Controls.dll)
Syntax
'Declaration
Public Shared Sub SetShowContextMenuCommand ( _
target As UIElement, _
value As ICommand _
)
public static void SetShowContextMenuCommand(
UIElement target,
ICommand value
)
public:
static void SetShowContextMenuCommand(
UIElement^ target,
ICommand^ value
)
static member SetShowContextMenuCommand :
target:UIElement *
value:ICommand -> unit
public static function SetShowContextMenuCommand(
target : UIElement,
value : ICommand
)
Parameters
- target
Type: System.Windows.UIElement
- value
Type: System.Windows.Input.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.