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

Events

There are a vertical and a horizontal scroll bar objects for the vertical and horizontal scroll bars respectively.

WinForms RadGridView Scroll Bars

They can be accessed via the TableElement.VScrollBar and TableElement.HScrollBar properties. You can detect when one of the scroll bar's value changes by handling the ValueChanged event of the respective RadScrollBarElement.

For instance, to subscribe to ValueChanged event of the vertical scroll bar use the following code:

radGridView1.TableElement.VScrollBar.ValueChanged += new EventHandler(VScrollBar_ValueChanged);

AddHandler Me.RadGridView1.TableElement.VScrollBar.ValueChanged, AddressOf VScrollBar_ValueChanged

ScrollBar value changed event

void VScrollBar_ValueChanged(object sender, EventArgs e)
{
    Console.WriteLine(this.radGridView1.TableElement.VScrollBar.Value);
}

Sub VScrollBar_ValueChanged(ByVal sender As Object, ByVal e As EventArgs)
    Console.WriteLine(Me.RadGridView1.TableElement.VScrollBar.Value)
End Sub

Please note that RadGridView Scroll event is NOT used.

See Also

In this article