New to Telerik UI for WinForms? Start a free 30-day trial
Scrolling Programmatically
Updated over 6 months ago
You can scroll programmatically using the following functions:
ScrollTo
C#
this.radGridView1.TableElement.ScrollTo(5, 4);
ScrollToColumn
C#
radGridView1.TableElement.ScrollToColumn(3);
ScrollToRow
C#
radGridView1.TableElement.ScrollToRow(100);
Properties
The following properties are useful when you need to control the scrolling functionality:
-
EnableFastScrolling: controls the fast scrolling mode.
-
EnableKineticScrolling: controls the kinetic scrolling function.
-
UseScrollbarsInHierarchy: enable or disable the dedicated vertical scrollbars in hierarchy.