UWP - make ListView's sticky group header not

2019-09-15 00:51发布

问题:

When the AreStickyGroupHeadersEnabled property value is True on the ListView's ItemsStackPanel, the group header (ListViewHeaderItem) at the top is always covering the first visible ListViewItem.

And in the situations when the group header's height is greater than the item's height, the item is being completely hidden from view beneath the group header. For some reason ItemsStackPanel.FirstVisibleIndex reports the hidden item as visible.

Is it possible to make the sticky group header background transparent so that the first ListViewItem is truly fully visible? Editing the HeaderContainerStyle style has had no effect on that.

UPD: added a screenshot from the Windows Universal samples

标签: c# uwp