Skip to main content

NavBarGroup.ShowIcons Property

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

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v21.2.dll

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
True

true. DefaultBoolean.True has a constant value of 0, while the standard true value corresponds to a value of 1. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

False

false. DefaultBoolean.False has a constant value of 1, while the standard false value corresponds to a value of 0. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

Default

The default behavior determined by the control’s logic.

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, for instance, the NavElement.SmallImage and NavElement.LargeImage properties.

See Also