Example #1
0
 private bool CanExecute(SpotTileExecutionMode spotTileExecutionMode)
 {
     return(ExecutionMode != spotTileExecutionMode);
 }
Example #2
0
 private void Execute(SpotTileExecutionMode spotTileExecutionMode)
 {
     ExecutionMode = spotTileExecutionMode;
     RaiseCanExecuteChanged();
 }
Example #3
0
 private DelegateCommand CreateExecutionModeCommand(SpotTileExecutionMode spotTileExecutionMode)
 {
     return(new DelegateCommand(() => Execute(spotTileExecutionMode), () => CanExecute(spotTileExecutionMode)));
 }
 private bool CanExecute(SpotTileExecutionMode spotTileExecutionMode)
 {
     return ExecutionMode != spotTileExecutionMode;
 }
 private void Execute(SpotTileExecutionMode spotTileExecutionMode)
 {
     ExecutionMode = spotTileExecutionMode;
     RaiseCanExecuteChanged();
 }
 private DelegateCommand CreateExecutionModeCommand(SpotTileExecutionMode spotTileExecutionMode)
 {
     return new DelegateCommand(() => Execute(spotTileExecutionMode), () => CanExecute(spotTileExecutionMode));
 }