Articles in this section
Category / Section

How show items count of ListView in Footer?

1 min read

You can show items count in footer of ListView by directly binding the count property of ItemsSource bind with ListView.

<listView:SfListView.FooterTemplate>  
                    <DataTemplate>  
                        <StackLayout Orientation="Horizontal">  
                                <Label Text="Items Count" />  
                                <Label Text="{Binding Items.Count}"/>  
                         </StackLayout>  
                    </DataTemplate>  
   </listView:SfListView.FooterTemplate>

 

Sample

  

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied