microsoft / microsoft-ui-xaml

Windows UI Library: the latest Windows 10 native controls and Fluent styles for your applications
MIT License
6.27k stars 674 forks source link

Proposal: Place Header for ListView outside of the list #8923

Open eduardobragaxz opened 11 months ago

eduardobragaxz commented 11 months ago

Proposal: Place Header for ListView outside of the list

Summary

It's kind of a weird design choice to not only have the header inside the ListView, but to also have it scroll with the items. It feels and looks weird, and I'm sure this is not good for accessibility. Also, having it outside would make it look more like other controls that can set a Header, like Textbox.

Rationale

SnowyWreath commented 10 months ago

The header property of ListView is rather useless because the header disappears when you start scrolling down. If I wanted that behavior, I'd have just put the ListView inside a ScrollViewer. I expect the header to remain in place, above the list, as I scroll through the list.

This feels more like a bug than a feature proposal to me.