Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sonnguyen0310/d09cb346a1a322c4889d54142545f9a9 to your computer and use it in GitHub Desktop.
Save sonnguyen0310/d09cb346a1a322c4889d54142545f9a9 to your computer and use it in GitHub Desktop.
Xamarin form PropertyChangedEventHandler
public event PropertyChangedEventHandler PropertyChanged;
protected void OnPropertyChanged([CallerMemberName] string propertyName = "")
{
var changed = PropertyChanged;
if (changed == null)
return;
changed.Invoke(this, new PropertyChangedEventArgs(propertyName));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment