Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 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

NavBarGroup.ShowIcons Property

Gets or sets whether link icons are shown in the current group.

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v24.2.dll

NuGet Package: DevExpress.Win

#Declaration

[DefaultValue(DefaultBoolean.Default)]
[DXCategory("Appearance")]
public DefaultBoolean ShowIcons { get; set; }

#Property Value

Type Default Description
DefaultBoolean Default

A DefaultBoolean enumeration value that specifies whether link icons are shown in the current group.

Available values:

Name Description Return Value
True

The value is true.

0

False

The value is false.

1

Default

The value is specified by a global option or a higher-level object.

2

#Remarks

By default, if an icon is assigned to a NavBarItem, it is automatically shown next to the item caption. Use the NavBarControl.ShowIcons property to specify whether icons assigned to all items in all groups of the current NavBarControl are shown. The ShowIcons property overrides this setting for the current group. Set this property to False to hide icons for all items in the current NavBarGroup.

To assign an icon to an item, you can use the NavElement.ImageOptions property.

See Also