XamlUICommand.Command Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the command behavior of an interactive UI element that performs an action when invoked, such as sending an email, deleting an item, or submitting a form.
public:
property ICommand ^ Command { ICommand ^ get(); void set(ICommand ^ value); };
ICommand Command();
void Command(ICommand value);
public ICommand Command { get; set; }
var iCommand = xamlUICommand.command;
xamlUICommand.command = iCommand;
Public Property Command As ICommand
Property Value
The command behavior of the element.
Remarks
XamlUICommand
implements the ICommand
interface (Microsoft.UI.Xaml.Input.ICommand for C++ or System.Windows.Input.ICommand for C#), adding various UI properties, methods, and events.