Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
DevTKSS opened this issue Dec 7, 2024 · 0 comments
Labels
kind/enhancement New feature or request. triage/untriaged Indicates an issue requires triaging or verification.

Comments

@DevTKSS
Copy link

DevTKSS commented Dec 7, 2024

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

@DevTKSS DevTKSS added kind/enhancement New feature or request. triage/untriaged Indicates an issue requires triaging or verification. labels Dec 7, 2024
@jeromelaban jeromelaban transferred this issue from unoplatform/uno Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or request. triage/untriaged Indicates an issue requires triaging or verification.
Projects
None yet
Development

No branches or pull requests

1 participant