You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 25, 2026. It is now read-only.
StickyHeaderBehavior would not take effect in 7.0.0.preview5 if we use ListView.HeaderTemplate to define the layout and set custom object to ListView.Header
Is this bug a regression in the toolkit? If so, what toolkit version did you last see it work:
Steps to Reproduce
Can this be reproduced in the Sample App? (Either in a sample as-is or with new XAML pasted in the editor.) If so, please provide custom XAML or steps to reproduce. If not, let us know why it can't be reproduced (e.g. more complex setup, environment, dependencies, etc...)
Steps to reproduce the behavior:
Use HeaderTemplate, and set Header (some custion class object) in C#
Header will not be sticky and will move with ListViewItems
Expected behavior
Header should be sticky
Screenshots
If applicable, add screenshots to help explain your problem.
Environment
NuGet Package(s): 7.0.0 preview-5
Package Version(s):
Windows 10 Build Number:
- [ ] Fall Creators Update (16299)
- [ ] April 2018 Update (17134)
- [ ] October 2018 Update (17763)
- [ ] May 2019 Update (18362)
- [x] May 2020 Update (19041)
- [ ] Insider Build (build number: )
App min and target version:
- [ ] Fall Creators Update (16299)
- [ ] April 2018 Update (17134)
- [ ] October 2018 Update (17763)
- [x] May 2019 Update (18362)
- [x] May 2020 Update (19041)
- [ ] Insider Build (xxxxx)
Device form factor:
- [x] Desktop
- [ ] Xbox
- [ ] Surface Hub
- [ ] IoT
Visual Studio
- [ ] 2017 (version: )
- [x] 2019 (version: latest)
- [ ] 2019 Preview (version: )
Describe the bug
StickyHeaderBehavior would not take effect in 7.0.0.preview5 if we use ListView.HeaderTemplate to define the layout and set custom object to ListView.Header
Steps to Reproduce
Steps to reproduce the behavior:
Expected behavior
Header should be sticky
Screenshots
If applicable, add screenshots to help explain your problem.
Environment