Skip to content

Add a GridView + ListView HeaderItem which would hold the Refresh Button + TextBlock by default for a FeedView #2636

Open

Description

@DevTKSS

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

Activity

  1. added
    kind/enhancement
    triage/untriaged
    on Dec 7, 2024
  2. transferred this issue fromunoplatform/unoon Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/enhancementtriage/untriaged

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions