Commands and DelegateCommand
ICommand command = DelegateCommand.Create()
.OnCanExecute( state =>
{
//command validation logic.
return true;
} )
.OnExecute( state =>
{
//command execution logic.
} );Last updated