Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.2.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