We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug
Using a GridView with the ItemsSource set to a class derived from ObservableCollection<Item> causes a crash when items are reordered due to an InvalidCastException. A workaround it to add code according to the documentation (https://github.com/manodasanW/WinUI-Gallery/blob/16ed717700b929dcb6591d32a4f10cd8b102aa07/WinUIGallery/VtableInitialization.cs#L24-L53) with typeName set to System.Collections.Specialized.SingleItemReadOnlyList.
ObservableCollection<Item>
typeName
System.Collections.Specialized.SingleItemReadOnlyList
Expected behavior
Should work without additional code
Version Info
CsWinRT 2.1.0-prerelease.240722.1 WindowsSDK 10.0.22621.37-preview
Additional context
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
Using a GridView with the ItemsSource set to a class derived from
ObservableCollection<Item>
causes a crash when items are reordered due to an InvalidCastException. A workaround it to add code according to the documentation (https://github.com/manodasanW/WinUI-Gallery/blob/16ed717700b929dcb6591d32a4f10cd8b102aa07/WinUIGallery/VtableInitialization.cs#L24-L53) withtypeName
set toSystem.Collections.Specialized.SingleItemReadOnlyList
.Expected behavior
Should work without additional code
Version Info
CsWinRT 2.1.0-prerelease.240722.1
WindowsSDK 10.0.22621.37-preview
Additional context
The text was updated successfully, but these errors were encountered: