Skip to content

[Windows] ItemsSource Does Not Dynamically Set to null in CarouselView  #29472

@NafeelaNazhir

Description

@NafeelaNazhir

Description

When the ItemsSource property of the CarouselView is set to null, the CarouselView does not dynamically update to reflect the change. Instead, the previously bound items remain displayed, and the CarouselView does not clear its content.

Actual Output Expected Output
Screen.Recording.2025-05-13.182518.mp4
Screen.Recording.2025-05-13.at.6.12.46.PM.mov

Steps to Reproduce

  1. Launch the application CarouselViewIssue 22.zip
  2. Select None radiobutton and Observe the behavior.

Actual Behavior:
When the ItemsSource of the CarouselView is dynamically set to null, the CarouselView does not update its content. The previously displayed items remain visible.

Expected Behavior:
When the ItemsSource of the CarouselView is dynamically set to null, the CarouselView should set to null.

Link to public reproduction project repository

No response

Version with bug

9.0.60 SR6

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

No response

Affected platforms

Windows

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-controls-collectionviewCollectionView, CarouselView, IndicatorViewpartner/syncfusionIssues / PR's with Syncfusion collaborationplatform/windowss/triagedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions