Vertical ScrollBar

You can set the visibility of ListView vertical scrollbar according to your preferences with the VerticalScrollBarVisibility property.

  • VerticalScrollBarVisibility(Xamarin.Forms.ScrollBarVisibility): Specifies whether the vertical scrollbar will be visualized. By default it is set to ScrollBarVisibility.Default which means the scrollbar behavior depends on the target platform.

Here is a quick snippet on how you can set it to ScrollBarVisibility.Always:

<telerikDataControls:RadListView x:Name="listView" 
                                 VerticalScrollBarVisibility="Always" />
var listView = new RadListView();
listView.VerticalScrollBarVisibility = ScrollBarVisibility.Always;

Programmatic Scrolling

RadListView exposes the following method for programmatic scrolling to a specific data item:

  • ScrollItemIntoView(object item): Attempts to bring the specified data item into the view.


Check below a simple example of ScrollItemIntoView usage inside a button click event handler.

Here is a sample view with a ListView control and a button:

<Grid Margin="10">
        <RowDefinition Height="Auto"/>
        <Button Clicked="ScrollItemIntoViewClicked" 
        <Label x:Name="label"/>
    <telerikDataControls:RadListView x:Name="listView" 
                                     ItemsSource="{Binding Items}">
            <local:ViewModel />

Use the following ViewModel to create a simple data for the ListView component:

public class ViewModel
    public ViewModel()
        this.Items = new ObservableCollection<string>();

        for (int i = 0; i < 100; i++)
            this.Items.Add("Item " + i);
    public ObservableCollection<string> Items { get; set; }

Create the button click event handler and inside this method use ScrollItemIntoView to navigate to a concrete item:

private void ScrollItemIntoViewClicked(object sender, EventArgs e)
    var rnd = new Random();
    var items = this.listView.ItemsSource as ObservableCollection<string>;
    var item = items[rnd.Next(items.Count - 1)];
    this.label.Text = "Scrolled to: " + item;

And the end result:

See Also

In this article
Not finding the help you need?