code_junkie

C# grid binding not update

Nov 11th, 2011
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. public string Name
  2. {
  3. get
  4. {
  5. return this._Name;
  6. }
  7. set
  8. {
  9. if (value != this._Name)
  10. {
  11. this._Name= value;
  12. NotifyPropertyChanged("Name");
  13. }
  14. }
  15. }
  16.  
  17. public event EventHandler NameChanged;
  18.  
  19.  
  20. public string Name
  21. {
  22. get
  23. {
  24. return this._Name;
  25. }
  26. set
  27. {
  28. if (value != this._Name)
  29. {
  30. this._Name= value;
  31. if (NameChanged != null) NameChanged(this, EventArgs.Empty);
  32. }
  33. }
  34. }
Add Comment
Please, Sign In to add comment