The bug of DataTemplateSelector in ListView #17461
Labels
area/listview 📃
Categorizes an issue or PR as relevant to the ListView control
area/skia ✏️
Categorizes an issue or PR as relevant to Skia
difficulty/medium 🤔
Categorizes an issue for which the difficulty level is reachable with a good understanding of WinUI
kind/bug
Something isn't working
project/items 🧾
Categorizes an issue or PR as relevant to items (ItemsControl, ItemsRepeater, ...)
Current behavior
This problem is difficult to describe in words, although it is a very simple problem to reproduce.
The data on the list is messed up.
Expected behavior
The correspondence between the data in a row is correct.
How to reproduce it (as minimally and precisely as possible)
FooDataTemplateSelector
Running the project with net8.0-desktop target framework, and then you can find the data on the list is messed up.
All the MainPage.xaml code:
All the MainPage.xaml.cs code:
You can find my repro demo code in https://github.com/lindexi/lindexi_gd/tree/3271e3dbebfcf85e04f1c329ca3a802cdcbee87b/UnoDemo/CadeqaciwhiYibiruhache
Workaround
No response
Works on UWP/WinUI
None
Environment
No response
NuGet package version(s)
global.json:
Affected platforms
No response
IDE
No response
IDE version
No response
Relevant plugins
No response
Anything else we need to know?
No response
The text was updated successfully, but these errors were encountered: