Skip to content

[Net11][Windows]CollectionView exception thrown when ItemsSource is set to Null #39552

Closed

Description

Description

In a .NET MAUI application, when using a CollectionView with an ItemsSource initially set to a list, exception thrown when the ItemsSource is set to Null.

Steps to Reproduce

1.Launch the application on Windows CollectionViewSample.zip
2.Tap the EmptyView/EmptyViewTemplate button to navigate to the CollectionView Control Page.
3.Tap the Options toolbar item to navigate to the Options Page, then select ItemSource to null.

Link to public reproduction project repository

No response

Version with bug

11.0.0-rc.2

Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI

Last version that worked well

Unknown/Other

Affected platforms

Windows

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

Activity

  1. added
    t/bug
    on Oct 22, 2026
  2. added
    partner/syncfusion
    on Oct 22, 2026
  3. Ahamed-Ali commented on Oct 22, 2026

    @Ahamed-Ali
    Contributor

    This issue has been validated in Visual Studio Code 1.143.0 with .NET MAUI versions with net11 preview6, preview7, rc1 and rc2. It can be reproduced on the windows platform on Cv2 .

    Note : This issue does not occurs on cv1 in windows platform

  4. added
    area-controls-collectionview
    s/verified
    s/triaged
    on Oct 22, 2026
  5. added a commit that references this issue on Oct 26, 2026
    0e0f868
  6. github-actions commented on Oct 26, 2026

    @github-actions
    Contributor

    Closed by #39554 (merged to net11.0). GitHub only auto-closes for PRs merged to the default branch; this issue was fixed by a PR merged to a non-default branch.

  7. added this to the .NET 11.0-rc2 milestone on Oct 26, 2026
  8. locked and limited conversation to collaborators on Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-controls-collectionviewcollectionview-winui-cv2partner/syncfusionplatform/windowss/triageds/verifiedt/bug

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions