The RadListView control is now obsolete and will be removed in the future. Use the RadCollectionView control instead. The RadCollectionView is a complete, ground-up rewrite of the ListView. The RadCollectionView offers improved performance, enhanced features, and a modernized approach to managing lists of data. The RadCollectionView incorporates all of the ListView's key features. More about the differences between both components and how to migrate to the new RadCollectionView is available in the Migrating the Telerik .NET MAUI RadListView to RadCollectionView article.

.NET MAUI ListView Grouping

The ListView provides you with the functionality to programmatically group its data at runtime. This can be achieved through adding group descriptors to the RadListView.GroupDescriptors collection.

Telerik Maui Ninja image

The Grouping is part of Telerik UI for .NET MAUI, the most comprehensive UI suite for .NET MAUI! To try it out, sign up for a free 30-day trial and kickstart your cross-platform app development today.

  • PropertyGroupDescriptor
  • DelegateGroupDescriptor

PropertyGroupDescriptor

You can group the data by a property value from the class that defines your items. For more details, refer to Property Group Descriptor article.

DelegateGroupDescriptor

This descriptor enables you to group by a custom key(for example, some complex expression combining two or more properties) instead of being limited by the value of a single property. For more details go to Delegate Group Descriptor article.

Custom Group Header Template

Create custom GroupHeaderTemplate to achieve the desired look when grouping the ListView. For more details, refer to the Group Header Template article.

Sticky Group Headers

The ListView provides the option to set its group headers as sticky. This means the GroupHeader will "freeze" while scrolling through the items until the whole group is scrolled away. As you scroll through the next group, the currently stuck group header will be pushed by the next group header.

For more information on how to enable the Sticky Group Header feature, refer to the Sticky Group Headers article.

Expand/Collapse Groups

The control supports groups expand and collapse operations either through the UI by tapping on the group headers or programmatically. For more details, refer to the Expand and Collapse Groups article.

Bindable GroupDescriptor

Users can control the GroupDescriptor collection by using MVVM. For more details, refer to the Bindable Group Descriptors article.

For an outline of all ListView features review the .NET MAUI ListView Overview article.

See Also

In this article