Skip to content

[Windows] CurrentItemChangedEventArgs and PositionChangedEventArgs Not Working Properly in CarouselView #29529

@NafeelaNazhir

Description

@NafeelaNazhir

Description

When using the CarouselView on Windows, the CurrentItemChangedEventArgs and PositionChangedEventArgs do not behave as expected. Specifically:

The PreviousItem and CurrentItem properties in CurrentItemChangedEventArgs do not update correctly when items are dynamically added at index 0 to the CarouselView.
The PreviousPosition and CurrentPosition properties in PositionChangedEventArgs do not reflect the previous and current positions of the carousel when the items are added dynamically at index 0 .

Actual Output Expected Output
Screen.Recording.2025-05-15.185204.mp4
Screen.Recording.2025-05-15.at.3.53.51.PM.mov

Steps to Reproduce

  1. Run the Application CarouselViewIssue 24.zip
  2. Add the items and observe the Current position, Current Item , Previous Position and Previous Item.
  3. Refer the video for Expected behavior.

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
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions