Xceed Grid for WinForms v4.3 Documentation
How to scroll the grid via code

Welcome to Xceed Grid for WinForms v4.3 > Task-Based Help > Scrolling > How to scroll the grid via code

The grid can be scrolled in various directions and increments using the Scroll method. Using the Scroll method that grid can be scrolled in the following directions/increments: 

Scroll direction Details
LeftmostPage/RightmostPage Scrolls the grid to bring the leftmost/rightmost page into view.
Right/Left Scrolls the grid to bring the first non-visible column on the right/left into view.
PageRight/PageLeft Scrolls the grid to bring the next non-visible page on the right/left into view. A page, in the case, represents a series of columns. For example, if a grid contains 16 columns and only the first/last 4 are visible, scrolling page right/left will bring the next/previous 4 columns into view.
TopPage/BottomPage Scrolls the grid to bring the first/last top page into view. A page, in this case, represents a series of rows. For example, if a grid contains 1000 rows and only the last/first 100 are visible, scrolling to the top/bottom page will bring the first/last 100 rows into view.
Down/Up Scrolls the grid to bring the first non-visible row at the bottom/top into view.
PageDown/PageUp Scrolls the grid to bring the next non-visible page at the bottom/top into view. A page, in this case, represents a series of rows. For example, if a grid contains 1000 rows and only the first/last 100 are visible, scrolling page down/up will bring the next/previous 100 rows into view.

Demonstration

The following example demonstrates how to scroll the grid using the Scroll method:

VB.NET Copy Code
GridControl1.Scroll( ScrollDirection.PageDown )
C# Copy Code
gridControl1.Scroll( ScrollDirection.PageDown );
If you want to scroll to a particular grid element, your best option would be to use the BringIntoView method. For more information, jump to the How to bring a grid element into view topic.