Back to Devexpress

IModelRootNavigationItems.DefaultChildItemsDisplayStyle Property

expressappframework-devexpress-dot-expressapp-dot-systemmodule-dot-imodelrootnavigationitems-fa5cf92b.md

latest3.2 KB
Original Source

IModelRootNavigationItems.DefaultChildItemsDisplayStyle Property

Specifies the default navbar group style when the IModelRootNavigationItems.NavigationStyle property is set to NavigationStyle.NavBar.

Namespace : DevExpress.ExpressApp.SystemModule

Assembly : DevExpress.ExpressApp.v25.2.dll

NuGet Package : DevExpress.ExpressApp

Declaration

csharp
[DefaultValue(ItemsDisplayStyle.LargeIcons)]
[ModelBrowsable(typeof(ChildItemsDisplayStyleOptionModelVisibilityCalculator))]
ItemsDisplayStyle DefaultChildItemsDisplayStyle { get; set; }
vb
<DefaultValue(ItemsDisplayStyle.LargeIcons)>
<ModelBrowsable(GetType(ChildItemsDisplayStyleOptionModelVisibilityCalculator))>
Property DefaultChildItemsDisplayStyle As ItemsDisplayStyle

Property Value

TypeDefaultDescription
ItemsDisplayStyleLargeIcons

An ItemsDisplayStyle enumeration value that specifies the default navbar group style.

|

Available values:

NameDescription
List

Specifies that a navbar group is displayed as a treelist. This treelist’s structure is identical to the structure of the IModelRootNavigationItems node’s child node represented by the navbar group.

| | LargeIcons |

Specifies that a navbar group is displayed as a set of icons specified by the IModelBaseChoiceActionItem.ImageName properties of the corresponding IModelNavigationItem nodes. Only the second-level child nodes of the IModelRootNavigationItems node are displayed. Available in Windows Forms applications only.

|

Remarks

This setting has no effect in XAF Blazor applications. For more information, refer to the following help topic: Navigation System.

See Also

IModelRootNavigationItems Interface

IModelRootNavigationItems Members

DevExpress.ExpressApp.SystemModule Namespace