-
Notifications
You must be signed in to change notification settings - Fork 1.9k
CollectionView Displays Blank UI When Changing IsGrouped and ItemsSourceType #28826
Description
Description
When dynamically changing the IsGrouped property and ItemsSourceType at runtime, the CollectionView UI does not behave as expected in certain combinations:
When IsGrouped is set to True and ItemsSourceType is set to a flat ObservableCollection/List, the UI appears blank instead of displaying items.
When IsGrouped is set to False and ItemsSourceType is set to a groupedList, the UI also appears blank, failing to show group names.
Screen.Recording.2025-04-07.at.11.23.26.AM.mov
Steps to Reproduce
- Run the application IsGroupedSample.zip
- Select ItemSource= GroupedList and IsGrouped = false , observe that the CollectionView appears blank.
- Select ItemSource= ObservableCollection/List and IsGrouped = true , observe that the CollectionView appears blank.
Expected Behavior
-
When IsGrouped is true and ItemsSourceType is a observableCollection or list, the CollectionView should display the list of items normally.
-
When IsGrouped is false and ItemsSourceType is a grouped collection, the CollectionView should display group names.
-
Dynamically changing between grouped and non-grouped states should update the UI accordingly without displaying a blank screen or throwing exceptions.
Actual Behavior
-
When IsGrouped is true and ItemsSourceType is a Observable collection or list, the CollectionView appears blank — no items are displayed.
-
When IsGrouped is false and ItemsSourceType is a grouped collection, the CollectionView appears blank.
Link to public reproduction project repository
No response
Version with bug
9.0.50 SR5
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
No response
Affected platforms
Android, macOS, iOS
Affected platform versions
No response
Did you find any workaround?
No response