The ListView provides you with the functionality to programmatically group its data at runtime. This can be achieved through adding groupdescriptors to the
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.
This descriptor enables you to group by a custom key (e.g. 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.
GroupHeaderTemplate in order to achieve the desired look when grouping the ListView. For more details, refer to the Group Header Template article.
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.
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.
Users can control the
GroupDescriptor collection by using MVVM. For more details, refer to the Bindable Group Descriptors article.