Skip to main content
.NET 6.0+

DevExpress v24.1 Update — Your Feedback Matters

Our What's New in v24.1 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

IModelRootNavigationItems.NavigationStyle Property

Specifies the control to be used as the navigation control.

Namespace: DevExpress.ExpressApp.SystemModule

Assembly: DevExpress.ExpressApp.v24.1.dll

NuGet Package: DevExpress.ExpressApp

#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 a navigation control. In this instance, the first-level child nodes of the IModelRootNavigationItems node correspond to the navbar control’s groups. These groups cannot be used to navigate to Views. The groups only serve as containers for other child nodes. In XAF Blazor applications, the NavBar option is equivalent to the Accordion option.

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