SHARE
TWEET

Untitled

a guest Oct 13th, 2019 104 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public event PropertyChangedEventHandler PropertyChanged;  
  2.  
  3.         // This method is called by the Set accessor of each property.  
  4.         // The CallerMemberName attribute that is applied to the optional propertyName  
  5.         // parameter causes the property name of the caller to be substituted as an argument.  
  6.         private void NotifyPropertyChanged([CallerMemberName] String propertyName = "")  
  7.         {  
  8.             PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
  9.         }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top