Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies to v2.
Gets the command to invoke when the button is clicked.
Namespace: Microsoft.WebMatrix.Extensibility
Assembly: Microsoft.WebMatrix.Extensibility (in Microsoft.WebMatrix.Extensibility.dll)
Syntax
'Declaration
Public Property Command As ICommand
Get
Private Set
'Usage
Dim instance As ContextMenuItem
Dim value As ICommand
value = instance.Command
public ICommand Command { get; private set; }
public:
virtual property ICommand^ Command {
ICommand^ get () sealed;
private: void set (ICommand^ value) sealed;
}
abstract Command : ICommand with get, private set
override Command : ICommand with get, private set
final function get Command () : ICommand
private final function set Command (value : ICommand)
Property Value
Type: System.Windows.Input.ICommand
The command to invoke when the button is clicked.