IContextMenuItem.Command Property
Applies to v2.
Gets the command to invoke when the button is selected.
Namespace: Microsoft.WebMatrix.Extensibility
Assembly: Microsoft.WebMatrix.Extensibility (in Microsoft.WebMatrix.Extensibility.dll)
Syntax
'Declaration
ReadOnly Property Command As ICommand
Get
'Usage
Dim instance As IContextMenuItem
Dim value As ICommand
value = instance.Command
ICommand Command { get; }
property ICommand^ Command {
ICommand^ get ();
}
abstract Command : ICommand
function get Command () : ICommand
Property Value
Type: System.Windows.Input.ICommand
The command to invoke when the button is selected.