Skip to content

Instantly share code, notes, and snippets.



Created Oct 16, 2019
What would you like to do?
private bool _myVal;
public bool MyProp {
get => _myVal;
set => {
if (_myVal != value) {
_myVal = value;
public void OnPropertyChanged([CallerMemberName] string propName = "")
=> NotifyPropertyChanged?.Invoke(propName);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.