Advertisement
Guest User

Untitled

a guest
Jul 31st, 2014
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. [AlsoNotifyFor("ListCounter")]
  2. public List<MyClass> MyProperty
  3. {get;set;}
  4.  
  5. public int ListCounter {get {return MyProperty.Count;}}
  6.  
  7. //This method will be invoked when ListCounter value is changed
  8. private void OnListCounterChanged()
  9. {
  10. //Some opertaion here
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement