Sf ListView Xaml

Hi Friends,

I am trying to design a List Item with a header and footer and edit and add items on the footer like the ListView Item shown below. Thanks !!!


maui-listview-sticky-header-and-footer.jpg


3 Replies 1 reply marked as answer

SY Suthi Yuvaraj Syncfusion Team May 12, 2023 01:28 PM UTC

Hi Ron Rex,


SfListView allows you to customize the Header and Footer in the Header and FooterTemplate, you can add different controls(eg Label, buttons Images etc.,)inside the datatemplate as per your requirement. Please refer to the below documentation and sample for more information.


UG Link: https://help.syncfusion.com/maui/listview/header-and-footer?cs-save-lang=1&cs-lang=xaml


Please let us know if you have any concerns.


Regards,

Suthi Yuvaraj.


Attachment: ListViewMaui_fbe654b.zip

Marked as answer

RR Ron Rex May 12, 2023 01:52 PM UTC

Thanks for replying to my Question. I was wondering could each item in the list have its own Header and Footer? Thanks !!!



SY Suthi Yuvaraj Syncfusion Team May 15, 2023 01:37 PM UTC

Ron Rex,

SfListView does not have direct support for individual headers and footers for each item, Whereas SfListView provides a single header and footer that are shared by all the items in the list. You can achieve a similar effect by customizing the item template of the SfListView. Instead of using a single header or footer, you can design your item template to include header and footer sections within each item. This way, each item in the list will have its own header and footer.

Please let us know if you have any concerns.


Loader.
Up arrow icon