Skip to main content
A newer version of this page is available. .

TreeListSettingsPager.Mode Property

Gets or sets whether page-mode navigation is enabled.

Namespace: DevExpress.Web.ASPxTreeList

Assembly: DevExpress.Web.ASPxTreeList.v20.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:

Library Object Type Path to Mode
ASP.NET Controls and MVC Extensions ASPxTreeList
.SettingsPager .Mode
ASP.NET MVC Extensions MVCxTreeList
.SettingsPager .Mode
TreeListSettings
.SettingsPager .Mode
TreeListSettings<RowType>
.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