This repository has been archived by the owner on May 1, 2024. It is now read-only.
[Bug] Changing ItemsLayout of CollectionView at runtime does not work on UWP #13437
Labels
a/collectionview
e/3 🕒
3
in-progress
This issue has an associated pull request that may resolve it!
p/UWP
t/bug 🐛
Projects
Description
Changing the ItemsLayout of CollectionView at runtime does not work properly on UWP. The collection is not affected after changing the ItemsLayout property. I tried setting it to:
Steps to Reproduce
CollectionViewBugDemo.zip
or
MainPageAndModel.zip
or
Relevant code
Basic Information
Version with issue: (Xamarin.Forms) v4.8.0.1451
Platform Target Frameworks:
Affected Devices: Windows 10 PC
Environment
Microsoft Visual Studio Enterprise 2019
Version 16.8.4
Screenshots
Should be 2 columns
![image](https://user-images.githubusercontent.com/5495604/104906645-44d07780-5984-11eb-81fb-2596e4f70e63.png)
Should be scrollable
![image](https://user-images.githubusercontent.com/5495604/104906700-574ab100-5984-11eb-80fd-a46f07827617.png)
Workaround
Resizing the window sometimes applies the appropriate ItemsLayout.
The text was updated successfully, but these errors were encountered: