Using ContentPresenter
as ListViewItem
template is not working
#7446
Labels
area/listview 📃
Categorizes an issue or PR as relevant to the ListView control
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
Nothing is rendered
Expected behavior
Items should render the same as it does on UWP.
How to reproduce it (as minimally and precisely as possible)
On a ListView, set the item container style to:
Minimal repro on the Uno Playground:
https://playground.platform.uno/#f419ea68
Workaround
Remove the template setter
Works on UWP/WinUI
Yes
Environment
Uno.UI / Uno.UI.WebAssembly / Uno.UI.Skia
NuGet package version(s)
Uno.UI.WebAssembly Version 3.10.11
Affected platforms
WebAssembly
IDE
Visual Studio 2022, Visual Studio 2019
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: