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

Declaration

[DXCategory("Appearance")]
[DefaultValue(-2)]
public int ImageIndex { get; set; }
<DXCategory("Appearance")>
<DefaultValue(-2)>
Public Property ImageIndex As Integer

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