Skip to main content
Tab

ASPxVerticalGridPagerSettings.PageSize Property

Gets or sets the maximum number of records that can be displayed on a page.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(5)]
public int PageSize { get; set; }

Property Value

Type Default Description
Int32 5

An integer value that specifies the number of records.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to PageSize
ASP.NET Web Forms Controls ASPxVerticalGrid
.SettingsPager .PageSize
ASP.NET MVC Extensions VerticalGridSettings
.SettingsPager .PageSize

Remarks

Use the PageSize property to specify the maximum number of records that can be displayed on a page. To display all the records in a grid, set the ASPxVerticalGridPagerSettings.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 records in a grid, end-users can click the All item in the page size item dropdown window, or click the All navigation button.

When a grid page size is changed by end-user interactions, the ASPxGridBase.PageSizeChanged event fires.

Note

When a grid displays all records, the PageSize property returns the last specified numerical value.

See Also