Last active
December 30, 2015 16:29
This gist shows the firing of a NotifyPropertyChanged event through a lambda.
This file contains 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 ObservableCollection<SudokuRowViewModel> Rows | |
{ | |
get | |
{ | |
return _rows; | |
} | |
set | |
{ | |
_rows = value; | |
NotifyPropertyChanged(() => Rows); | |
} | |
} | |
public bool IsSolved | |
{ | |
get | |
{ | |
return _isSolved; | |
} | |
set | |
{ | |
_isSolved = value; | |
NotifyPropertyChanged(()=> IsSolved); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment