FrameworkElementEvents.SetContextMenuClosingCommand Method
Namespace: Microsoft.TeamFoundation.MVVM
Assembly: Microsoft.TeamFoundation.Controls (in Microsoft.TeamFoundation.Controls.dll)
Syntax
'Declaration
Public Shared Sub SetContextMenuClosingCommand ( _
obj As DependencyObject, _
value As ICommand _
)
public static void SetContextMenuClosingCommand(
DependencyObject obj,
ICommand value
)
public:
static void SetContextMenuClosingCommand(
DependencyObject^ obj,
ICommand^ value
)
static member SetContextMenuClosingCommand :
obj:DependencyObject *
value:ICommand -> unit
public static function SetContextMenuClosingCommand(
obj : DependencyObject,
value : ICommand
)
Parameters
- obj
Type: System.Windows.DependencyObject
- 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.