MenuAction.Command Property
Gets the command which represents the menu action.
Namespace: Microsoft.Windows.Design.Interaction
Assembly: Microsoft.Windows.Design.Extensibility (in Microsoft.Windows.Design.Extensibility.dll)
'Declaration
Public ReadOnly Property Command As ICommand
'Usage
Dim instance As MenuAction
Dim value As ICommand
value = instance.Command
public ICommand Command { get; }
public:
property ICommand^ Command {
ICommand^ get ();
}
public function get Command () : ICommand
Type: System.Windows.Input.ICommand
An ICommand which represents the menu action.
The designer calls the Execute method on Command to invoke the menu action logic.
- 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.
Microsoft.Windows.Design.Interaction Namespace