New to Telerik UI for .NET MAUI? Start a free 30-day trial

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 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.

To enable the sticky group headers behavior, set IsGroupHeaderSticky property of the ListView to True. By default IsGroupHeaderSticky value is False.

<telerik:RadListView x:Name="listView"
                     IsGroupHeaderSticky="True"  />
var listView = new RadListView();
listView.IsGroupHeaderSticky = true;

The following image shows the sticky group headers in action:

.NET MAUI ListView Sticky Group Headers

See Also

In this article