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

BreadCrumbNode.ImageIndex Property

Gets or sets the index of an image from the RepositoryItemBreadCrumbEdit.Images collection that should be used as this ImageIndex glyph.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v19.1.dll

Declaration

[DXCategory("Appearance")]
[DefaultValue(-2)]
public int ImageIndex { get; set; }

Property Value

Type Default Description
Int32 -2

An Int32 value that is the index of an image from the RepositoryItemBreadCrumbEdit.Images collection that should be used as this ImageIndex glyph.

Remarks

You can assign an image collection to the RepositoryItemBreadCrumbEdit.Images property and pick a default glyph for every node via the RepositoryItemBreadCrumbEdit.ImageIndex (for regular nodes) or RepositoryItemBreadCrumbEdit.RootImageIndex (for root nodes) properties. If you need to override this setting for individual nodes, use the ImageIndex property to pick another image from the Images collection for the current node.

Note

Node glyphs are only visible in node drop-down lists which display child nodes. The only node glyph that is visible within the BreadCrumbEdit itself is the RepositoryItemBreadCrumbEdit.RootGlyph.

See Also