Add a GridView + ListView HeaderItem which would hold the Refresh Button + TextBlock by default for a FeedView #2636
Labels
kind/enhancement
New feature or request.
triage/untriaged
Indicates an issue requires triaging or verification.
What would you like to be added
I would like to be able to add a HeaderText / Caption (would add this dependency Property in my Controltemplate beside the Button, for the HeaderContent, but as far as I seen the DataTemplate could only take A: ListViewHeaderItemTemplate B: GridViewHeaderItemTemplate C: ListViewHeaderBaseItemTemplate (or similar) D: FeedView, but only one at a time. I would prefer to not have to define this Header each time I want a simple header + Refresh Button for this controls, but no idea how this could be set up thinking of ControlTemplate, but this also could just inherit from one of those elements and not also from FeedView/FeedState.
Why is this needed
I would like to be able to define a (stick-able) HeaderItem which could be reused for GridView AND ListView inside of a FeedView, but since a class can only take one class to inherit from i can not get the needed functionallitys for Binding to the Refresh Command in the ControlTemplate in my App. At this point I will have to define this datatemplate in every control or can only have one of them and only do the inherit from GridView- OR ListViewHeaderItem, did not find the base implementation for this.
For which platform
WebAssembly, Android, iOS, Mac Catalyst, Skia (WPF), Skia (Linux X11), Skia (macOS), Skia (Linux Framebuffer), Skia (GTK), Windows (WinAppSDK)
Anything else we need to know?
No response
The text was updated successfully, but these errors were encountered: