You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seems like the TreeView.SelectedItemsCollectionChanged method in the NotifyCollectionChangedAction.Reset case is checking if SelectedItems list has items which it wont since it's responding to a CollectionChanged event from said list
Describe the bug
When I call UnselectAll on my tree view, the selected items list gets called but no event is fired.
To Reproduce
Create a TreeView and fill it with some TreeViewItems. Then select an item and invoke UnselectAll, you will notice no SelectionChanged event is fired
Expected behavior
No response
Avalonia version
11.2.999-cibuild0048720-alpha
OS
Windows
Additional context
I insert TreeViewItems into the TreeView manually:
this.Items.Insert(0, new TreeViewItem());
. Maybe there is an issue with this technique?The text was updated successfully, but these errors were encountered: