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 or sets the command to invoke when the button is pressed.
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 RibbonButton
Dim value As ICommand
value = instance.Command
public ICommand Command { get; private set; }
public:
property ICommand^ Command {
ICommand^ get ();
private: void set (ICommand^ value);
}
member Command : ICommand with get, private set
function get Command () : ICommand
private function set Command (value : ICommand)
Property Value
Type: System.Windows.Input.ICommand
The command to invoke when the button is pressed.