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

NavBarControl.HtmlImages Property

Gets or sets a collection of images that can be inserted into the group and item captions using HTML tags.

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v18.2.dll

Declaration

[DefaultValue(null)]
[DXCategory("Appearance")]
public ImageCollection HtmlImages { get; set; }

Property Value

Type Default Description
ImageCollection *null*

A ImageCollection object that stores a collection of images.

Remarks

If the group and item captions are formatted using HTML tags (see NavBarControl.AllowHtmlString), the image tag can be used to insert an image from an ImageCollection or from the project resources into the display text.

If you want to insert an image from an ImageCollection, create a ImageCollection object, add images to it and then assign this collection to the HtmlImages property. All images in the ImageCollection have names. Use these names to refer to specific images while using the image tag. See HTML Text Formatting to learn more.

See Also