Skip to main content

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.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(-2)]
[DXCategory("Appearance")]
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