Skip to main content

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.v22.1.dll


public int PageSize { get; set; }

Property Value

Type Default Description


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:

Library Object Type Path to PageSize
ASP.NET MVC Extensions MVCxTreeList
ASP.NET Web Forms Controls ASPxTreeList


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.


When ASPxTreeList displays all rows, the PageSize property returns the last specified numerical value.

See Also