New to Telerik UI for .NET MAUIStart a free 30-day trial

Migrating the Telerik .NET MAUI ListView to CollectionView

The Telerik UI for .NET MAUI CollectionView control has been designed and built as a new control which provides the same functionality as the Telerik .NET MAUI ListView control, but at the same introduces a slew of enhancements, aimed at resolving existing issues, boosting performance, and facilitating effortless customization.

API Differences

When migrating the Telerik .NET MAUI ListView, consider the following differences in the API:

Telerik .NET MAUI ListViewTelerik .NET MAUI CollectionView
Presenting the data through cells—ListViewTextCell, ListViewTemplateCellPresenting the data through a DisplayMemberPath property or by defining an ItemTemplate
Selection—None, Single or Multiple, provide an option to set selection gesture - Tap, HoldSelectionNone, Single or Multiple, no selection gesture
Grouping through PropertyGroupDescriptor or DelegateGroupDescriptor, methods for expanding/collapsing groups, multi-level grouping, sticky group headersGrouping through PropertyGroupDescriptor or DelegateGroupDescriptor, methods for expanding/collapsing groups, multi-level grouping, no sticky group headers
Sorting through PropertySortDescriptor or DelegateSortDescriptorSorting through PropertySortDescriptor or DelegateSortDescriptor
Filtering through DelegateFilterDescriptorFiltering through various filter descriptors, such as TextFilterDescriptor, NumericalFilterDescriptor, etc
Header and Footer templatesHeader and Footer templates
Load On Demand—Automatic and Manual, items can be loaded on demand through a ListViewLoadOnDemandCollection, a LoadOnDemand event or LoadOnDemand ListViewUserCommandLoad On Demand—Automatic and Manual, items can be loaded on demand through a LoadOnDemandCollection, a LoadOnDemand event or LoadOnDemandCommand
Scrolling—VerticalScrollBarVisibility property, ScrollItemIntoView methodScrollingScrollItemIntoView method, Scrolled event
Linear and Grid LayoutsLinear and Grid Layouts
Cell Swipe with ItemSwipeContentTemplate and SwipeOffsetItem Swipe with StartSwipeTemplate, EndSwipeTemplate, StartSwipeLength and EndSwipeLength properties
Pull To Refresh built-in funcionalityRefresh Data functionality through a RefreshView control
Reorder Items with IsItemsReorderEnabled propertyDrag and Drop feature with IsDragDropEnabled property, customizable DragDropBehavior
N/AEmpty Template feature through EmptyContentTemplate and EmptyContentDisplayMode
Events—ItemTapped, ItemHold, GroupHeaderTapped , RefreshRequested, SelectionChangedEventsItemTapped, GroupTapped, Scrolled, SelectionChanged
Predefined commands through CommandId enumerationCommands - ItemTapCommand, GroupTapCommand, Item Swipe commands, LoadOnDemand commands
Styling—ItemStyle, SelectedItemStyle, PressedItemStyle, ReorderItemStyle, ItemStyleSelector, GroupHeaderStyleStylingItemViewStyle with visual states, DragVisual, ItemViewStyleSelector, GroupViewStyle, GroupViewStyleSelector

See Also

In this article
API DifferencesSee Also
Not finding the help you need?
Contact Support