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.v19.2.dll

Declaration

[DefaultValue(10)]
public int PageSize { get; set; }
<DefaultValue(10)>
Public Property PageSize As Integer

Property Value

Type Default Description
Int32

10

An integer value that specifies the maximum number of nodes 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 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.

See Also