Guest User

Untitled

a guest
Jan 20th, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. private DelegateCommand<string> _fieldName;
  2. public DelegateCommand<string> CommandName =>
  3. _fieldName ?? (_fieldName = new DelegateCommand<string>(ExecuteCommandName, CanExecuteCommandName));
  4.  
  5. void ExecuteCommandName(string parameter)
  6. {
  7.  
  8. }
  9.  
  10. bool CanExecuteCommandName(string parameter)
  11. {
  12. return true;
  13. }
Add Comment
Please, Sign In to add comment