Skip to content

Latest commit

 

History

History
37 lines (21 loc) · 1016 Bytes

xamluicommand_canexecute_508446764.md

File metadata and controls

37 lines (21 loc) · 1016 Bytes
-api-id -api-type ms.custom
M:Windows.UI.Xaml.Input.XamlUICommand.CanExecute(System.Object)
winrt method
RS5

Windows.UI.Xaml.Input.XamlUICommand.CanExecute

-description

Retrieves whether the command can execute in its current state.

-parameters

-param parameter

Data used by the command. If the command does not require data, this object can be set to null.

-returns

true if this command can be executed; otherwise, false.

-remarks

A command source typically calls this method when the CanExecuteChanged event is raised.

-see-also

StandardUICommand, Command design basics, Commanding in Universal Windows Platform apps using StandardUICommand, XamlUICommand, and ICommand

-examples