IModelRootNavigationItems.NavigationStyle Property
Specifies the control to be used as the navigation control.
Namespace: DevExpress.ExpressApp.SystemModule
Assembly:
DevExpress.ExpressApp.v24.2.dll
Declaration
[DefaultValue(NavigationStyle.NavBar)]
[TypeConverter(typeof(NavigationStylesConverter))]
NavigationStyle NavigationStyle { get; set; }
<DefaultValue(NavigationStyle.NavBar)>
<TypeConverter(GetType(NavigationStylesConverter))>
Property NavigationStyle As NavigationStyle
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