Articles in this section
Category / Section

How show items count in footer in .NET MAUI SfListView?

2 mins read

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

<listView:SfListView.FooterTemplate>
    <DataTemplate>
        <StackLayout Orientation="Horizontal" HorizontalOptions="Start" 
                         VerticalOptions="Center" Padding="10,0,0,0">
            <Label Text="Items Count" TextColor="Black" FontSize="Medium"/>
            <Label Text="{Binding Items.Count}" TextColor="Black" FontSize="Medium"/>

        </StackLayout>
    </DataTemplate>
</listView:SfListView.FooterTemplate>

View sample in GitHub

Conclusion

I hope you enjoyed learning how to show items count of ListView in Footer in .NET MAUI ListView.

You can refer to our .NET MAUI ListView feature tour page to know about its other groundbreaking feature representations and documentation, and how to quickly get started for configuration specifications. You can also explore our .NET MAUI ListView example to understand how to create and manipulate data.

For current customers, you can check out our components from the License and Downloads page. If you are new to Syncfusion, you can try our 30-day free trial to check out our other controls.

If you have any queries or require clarifications, please let us know in the comments section below. You can also contact us through our support forums, Direct-Trac, or feedback portal. We are always happy to assist you!

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