GridViewPagerState.PageSize Property
Gets or sets the number of rows that can be displayed on a grid page.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.2.dll
Declaration
Property Value
Type | Description |
---|---|
Int32 | An integer value that specifies the maximum number of rows that can be displayed on a page. |
Remarks
Use the PageSize property to specify the maximum number of rows that can be displayed on a page. To display all the rows in a grid, set the ASPxGridViewPagerSettings.Mode property to GridViewPagerMode.ShowAllRecords. In this case, the PageSize property is not in effect.
End-users can change the page size by using the page size item element. To display all rows in a grid, end-users can click the All item in the page size item dropdown window, or click the All navigation button.
Note
When a grid displays all rows, the PageSize property returns the last specified numerical value.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the PageSize property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.