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

IModelRootNavigationItems.NavigationStyle Property

Specifies the control to be used as the navigation control.

Namespace: DevExpress.ExpressApp.SystemModule

Assembly: DevExpress.ExpressApp.v19.1.dll

Declaration

[DefaultValue(NavigationStyle.NavBar)]
NavigationStyle NavigationStyle { get; set; }

Property Value

Type Default Description
NavigationStyle **NavBar**

A NavigationStyle enumeration value specifying the control to be used as the navigation control.

Available values:

Name Description
TreeList

Specifies that a treelist control is used as the navigation control. In this instance, the displayed tree is identical to the navigation structure.

NavBar

Specifies that a navbar control is used as the navigation control. In this instance, the first-level child nodes of the IModelRootNavigationItems node represent the navbar’s groups. These groups cannot be used to navigate to Views. The groups only serve as the containers for other child nodes.

Accordion

Specifies that an accordion control is used as the navigation control. In this instance, all nodes except nodes of the last nesting level present accordion groups. These groups are containers for other child nodes. You cannot use these groups to navigate to Views.

See Also