Back to Devexpress

GridView.MovePrevPage() Method

windowsforms-devexpress-dot-xtragrid-dot-views-dot-grid-dot-gridview-cf1c9697.md

latest2.4 KB
Original Source

GridView.MovePrevPage() Method

Moves focus to the previous page.

Namespace : DevExpress.XtraGrid.Views.Grid

Assembly : DevExpress.XtraGrid.v25.2.dll

NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

csharp
public override void MovePrevPage()
vb
Public Overrides Sub MovePrevPage

Remarks

Use the MovePrevPage method to move row focus backwards in the grid, by the number of rows displayed per view(page).

end-users can do this by pressing the “Previous Page” button of the embedded data navigator or by pressing the PAGE UP key when the View has focus.

Note

Detail pattern Views do not contain data and they are never displayed within XtraGrid. So, the MovePrevPage member must not be invoked for these Views. The MovePrevPage member can only be used with Views that display real data within the Grid Control. Use the following methods to access these Views with which an end user interacts at runtime.

See Also

GridView Class

GridView Members

DevExpress.XtraGrid.Views.Grid Namespace