TreeListSettingsPager.PageSize Property
Gets or sets the maximum number of nodes that can be displayed on a page.
Namespace: DevExpress.Web.ASPxTreeList
Assembly: DevExpress.Web.ASPxTreeList.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
Property Value
Type | Default | Description |
---|---|---|
Int32 | 10 | An integer value that specifies the maximum number of nodes that can be displayed on a page. |
Property Paths
You can access this nested property as listed below:
Object Type | Path to PageSize |
---|---|
ASPxTreeList |
|
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 ASPxTreeList, set the TreeListSettingsPager.Mode property to TreeListPagerMode.ShowAllNodes. 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, end-users can click the All item in the page size item dropdown window, or click the All navigation button.
When a ASPxTreeList page size is changed by end-user interactions, the ASPxTreeList.PageSizeChanged event fires.
Note
When ASPxTreeList displays all rows, the PageSize property returns the last specified numerical value.