Telerik ListView for Xamarin Mobile Blazor Bindings is a virtualized list component that presents lists of data. It is quite useful in scenarios that require scrolling and manipulation of the items. The control is easy to use and packed with everything you may need from a ListView component – data binding, load on demand, filtering, grouping, sorting, customizable items, linear and grid layouts, item swipe and reordering, various selection options and more.

Telerik UI for Xamarin Ninja image

The ListView is part of Telerik UI for Xamarin, a professional grade UI component library for building modern and feature-rich applications. To try it out sign up for a free 30-day trial.

Figure 1: ListView Overview

ListView Overview

Key features


RadListView supports both single and multiple selection, additionally items can be selected on tap or on hold gestures.

<RadListView ItemsSource="@Source"
             SelectionGesture="Telerik.XamarinForms.DataControls.ListView.SelectionGesture.Tap" />

Different layouts and orientation

You can choose between linear and grid layout as well as define the scroll direction of the layout.

<RadListView ItemsSource="@Source">
        <Telerik.XamarinForms.Blazor.DataControls.ListView.ListViewGridLayout SpanCount="2"
                                                                              VerticalItemSpacing="5" />

Reorder Items

You can allow the end-users to reorder ListView items using drag and drop through IsItemsReorderEnabled property.

<RadListView ItemsSource="@Source" 
             IsItemsReorderEnabled="true" />

Load on demand

In addition to the built-in UI virtualization, the control supports load-on-demand. This optimizes the initial loading of the app and the new items are loaded when requested - you can choose between Automatic (items are loaded when user scrolls near the end of the listview) or Manual (a button is rendered, when tapped, items a re loaded) load on demand mode:

    <RadListView ItemsSource="@Source" 

    public ObservableCollection<string> Source { get; set; }

    protected override void OnInitialized()

        this.Source = new ObservableCollection<string>()

    protected void LoadOndemandClicked()
        for(int i=0; i<5; i++)
            this.Source.Add(String.Format("New item {0}", i));

Grouping, sorting and filtering

You can easily visualize your items in groups, sorted and filtered in accordance with your criteria - just need to add the needed property descriptor to the GroupDescriptors, SortDescriptors or FilterDescriptors collections of the ListView, respectively.

Customizable Items

RadListView provides styling mechanism for customizing the look of its items. This mechanism consists of the following properties of type ListViewItemStyle:

  • ItemStyle
  • SelectedItemStyle
  • PressedItemStyle
  • ReorderItemStyle
<RadListView ItemsSource="@Source">
        <Telerik.XamarinForms.Blazor.DataControls.ListView.ListViewItemStyle BackgroundColor="Color.Aquamarine"
                                                                             BorderWidth="2" />

See Also

In this article