-api-id | -api-type | ms.custom |
---|---|---|
M:Windows.UI.Xaml.Input.XamlUICommand.CanExecute(System.Object) |
winrt method |
RS5 |
Retrieves whether the command can execute in its current state.
Data used by the command. If the command does not require data, this object can be set to null.
true if this command can be executed; otherwise, false.
A command source typically calls this method when the CanExecuteChanged event is raised.
StandardUICommand, Command design basics, Commanding in Universal Windows Platform apps using StandardUICommand, XamlUICommand, and ICommand