We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to bind multiple field in the group header?

Platform: Xamarin.Forms |
Control: SfListView
Tags: general, listview

ListView allows you to bind multiple fields in the group header template using IValueConverter with the help of GroupResult to get various information (Levels, Items, SubGroups, etc.) and pass the values in ConverterParameter for converter.  





You can access multiple fields by adding conditions to check whether the necessary parameter is label or image in converter. 



Click here to download the sample.

2X faster development

The ultimate Xamarin UI toolkit to boost your development speed.
You must log in to leave a comment
Eduardo Luczinski Junior
Oct 29, 2020

Hi! What does the '.'(dot) mean for the Converter?

Text="{Binding .,Converter={StaticResource TemplateConverter}, ConverterParameter={x:Reference Name=grouplabel}}"



Jun 27, 2021

"." Means Current list object.

Jun 27, 2021

This is great sample for multiple column grouping listview. I am facing one issue while using this above method, On taping list item, i have to update one list item group property which is not getting updated. Lets say in some above scenario we have image button Apply(Default:false) on tapping it is updated with true along with PropertyNotification, however it is not update in UI. Any idea how to achieve this?


Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile