Forum Xamarin.Forms
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

Is it possible for me to have an image as a group header in listview? If so can anyone tell me how?

Nani_777Nani_777 INMember ✭✭

I want to have an Image as a list view group header.
can anyone tell me how to do it .
I tried the following code but it throws an exception

<ListView x:Name ="lstView" IsGroupingEnabled="true" GroupDisplayBinding="{Binding LongName}" GroupShortNameBinding="{Binding ShortName}">
            <TextCell Text="{Binding Name}" Detail = "{Binding Comment}" />
            <Image Source="{Binding Img"/>

Best Answer


Sign In or Register to comment.