Advertisement
Guest User

Untitled

a guest
Jun 28th, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. vm.PropertyChanged += CallCounter;
  2. using (vm.SuspendPropertyChangedEvent(CallCounter))
  3. {
  4. // do something that is raising PropertyChanged in normal, but CallCounter won't be called inside this block.
  5. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement