Relative Content

Tag Archive for listviewwinui-3listviewitem

WinUI ListView Item Height Not Working Below a Certain Threshold

Despite setting the margins, heights, min heights and so on for the ListView item template, there is a certain minimum height threshold where the ListView seems to create its own container of a certain height (probably in the 20-30 range) and the item template is simply floating within that, as happens with the XAML below. As you can see from the image, the text FontSize is 12, but the item container height is more than 2.5 times that.