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 (Windows.UI.Xaml.Input.ICommand for C++ or System.Windows.Input.ICommand for C#), adding various UI properties, methods, and events.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for