Skip to main content

TreeListSettingsPager.Mode Property

Gets or sets whether page-mode navigation is enabled.

Namespace: DevExpress.Web.ASPxTreeList

Assembly: DevExpress.Web.ASPxTreeList.v23.2.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(TreeListPagerMode.ShowAllNodes)]
public TreeListPagerMode Mode { get; set; }

Property Value

Type Default Description
TreeListPagerMode ShowAllNodes

A TreeListPagerMode enumeration value that specifies whether page-mode navigation is enabled.

Available values:

Name Description
ShowAllNodes

Disables page-mode navigation.

ShowPager

The ASPxTreeList automatically splits content (nodes) across multiple pages, and provides end-users with an embedded page navigation UI - Pager. The maximum number of nodes displayed on a page is specified by the TreeListSettingsPager.PageSize property.

Property Paths

You can access this nested property as listed below:

Object Type Path to Mode
ASPxTreeList
.SettingsPager .Mode

Remarks

To enable page-mode navigation, set the Mode property to TreeListPagerMode.ShowPager. To display all nodes within a tree list, set this property to TreeListPagerMode.ShowAllNodes.

See Also