[Suggestion] Allow suspending BindableCollection events #110
RobertBeekman
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm using BindableCollection in a TreeView and I'm having some trouble with recursive updates.
Because a child element does not know how many children of it's own it's going to receive, I cannot easily use AddRange without creating some kind of temporary list that I flush afterwards.
The result is I'm using Add instead, which means I'm getting a lot of raised events. Would it be possible to allow BindableCollection's events to be suspended? Then I can just do all my operations and manually call Refresh after everything is done.
Beta Was this translation helpful? Give feedback.
All reactions