[Windows] CarouselView ItemsLayout Not Updating at Runtime
- Dominant language
- C#
- Stars
- 23.3k
- Forks
- 2k
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 290
Description
### Description
The CarouselView does not dynamically update its layout when the ItemsLayout property is changed at runtime by toggling between the Horizontal and Vertical RadioButton options.
### Steps to Reproduce
Run the application [CarouselViewIssue.zip](https://github.com/user-attachments/files/20081552/CarouselViewIssue.zip)
Toggle between the "Horizontal" and "Vertical" options under the ItemsLayout section.
Observe that the layout of the CarouselView does not change.
Expected Behavior
The CarouselView should update its layout dynamically to reflect the selected ItemsLayout (horizontal or vertical).
Actual Behavior
The CarouselView layout remains unchanged when toggling between horizontal and vertical layouts.
### 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
Unknown/Other
### Affected platforms
Windows
### Affected platform versions
_No response_
### Did you find any workaround?
_No response_
### Relevant log output
```shell
```
Contributor guide
Research direction
Start by running the attached CarouselViewIssue.zip application on Windows and toggling the Horizontal and Vertical RadioButton options under ItemsLayout. Trace how the CarouselView receives the runtime ItemsLayout change. Done means the displayed layout changes between horizontal and vertical modes when the selection is toggled, without restarting the application.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- desktop, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100