Created
November 9, 2020 00:31
-
-
Save azimuthdeveloper/76040573e4cdf2221bb3d7081bb668b8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public NewItemViewModel() | |
| { | |
| SaveCommand = new Command(OnSave, ValidateSave); | |
| CancelCommand = new Command(OnCancel); | |
| this.PropertyChanged += | |
| (_, __) => SaveCommand.ChangeCanExecute(); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment