Skip to main content
A newer version of this page is available. .

NavBarControl.ShowIcons Property

Gets or sets whether link icons are shown.

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v19.1.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.

Available values:

Name Description
True

Corresponds to a Boolean value of true.

False

Corresponds to a Boolean value of false.

Default

The value is determined by the current object’s parent object setting (e.g., a control setting).

Remarks

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

To assign an icon to an item, you can use, for instance, the NavElement.SmallImage and NavElement.LargeImage properties.

See Also