Skip to main content

VerticalGridPagerState.PageSize Property

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

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.2.dll

Declaration

public int PageSize { get; set; }

Property Value

Type Description
Int32

An integer value that specifies the maximum number of records that can be displayed on a page.

Remarks

Use the PageSize property to specify the maximum number of records that can be displayed on a page. To display all the records, set the ASPxVerticalGridPagerSettings.Mode property to VerticalGridPagerMode.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.

Note

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

See Also