Skip to content

Instantly share code, notes, and snippets.

@vermegi
Last active December 30, 2015 16:29
This gist shows the firing of a NotifyPropertyChanged event through a lambda.
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