New to Telerik UI for WinForms? Download free 30-day trial

Scroll Modes

RadGridView provides three built-in scrolling modes, which allow you to manipulate the type of scrolling. This is controlled by the ScrollMode enumeration property which has the following entries:


This is the default value of the ScrollMode property. Items in this mode are scrolled smoothly.

WinForms RadGridView ScrollMode

this.radGridView1.TableElement.RowScroller.ScrollMode = ItemScrollerScrollModes.Smooth;

Me.RadGridView1.TableElement.RowScroller.ScrollMode = ItemScrollerScrollModes.Smooth


When the Discrete mode is set, the items are scrolled one at a time. The scrollbar maximum is equal to the number of the items in the view. The scrollbar SmallChange is equal to 1 and each small increment or decrement will move the items in the view with one whole item.

WinForms RadGridView ScrollMode

this.radGridView1.TableElement.RowScroller.ScrollMode = ItemScrollerScrollModes.Discrete;

Me.RadGridView1.TableElement.RowScroller.ScrollMode = ItemScrollerScrollModes.Discrete


In this mode, the content in the view is static until scrolling is completed.

WinForms RadGridView ScrollMode

this.radGridView1.TableElement.RowScroller.ScrollMode = ItemScrollerScrollModes.Deferred;

Me.RadGridView1.TableElement.RowScroller.ScrollMode = ItemScrollerScrollModes.Deferred

When RadGridView's ScrollMode is set to Deferred, a small ToolTip appears when scrolling which previews the current scroll position. You could modify the text inside the ToolTip by subscribing to the ToolTipTextNeeded event of the RowScroller.

this.radGridView1.TableElement.RowScroller.ToolTipTextNeeded += RowScroller_ToolTipTextNeeded;

AddHandler this.radGridView1.TableElement.RowScroller.ToolTipTextNeeded, AddressOff RowScroller_ToolTipTextNeeded;

In the event handler, you can get the text from the event arguments ToolTipText property and modify it per your needs.

private void RowScroller_ToolTipTextNeeded(object sender, Telerik.WinControls.ToolTipTextNeededEventArgs e)
    string[] toolTipTextArray = e.ToolTipText.Split();
    e.ToolTipText = "Current Scroll Position: " + toolTipTextArray[1];

Private Sub RowScroller_ToolTipTextNeeded(ByVal sender As Object, ByVal e As Telerik.WinControls.ToolTipTextNeededEventArgs)
    Dim toolTipTextArray As String() = e.ToolTipText.Split()
    e.ToolTipText = "Current Scroll Position: " & toolTipTextArray(1)
End Sub

WinForms RadGridView ScrollMode

See Also

In this article