UWP - make ListView's sticky group header not cover the first visible Item

▼魔方 西西 提交于 2019-12-12 04:34:46

问题


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

来源:https://stackoverflow.com/questions/42613026/uwp-make-listviews-sticky-group-header-not-cover-the-first-visible-item

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!