Back to Devexpress

BreadCrumbNode.ImageIndex Property

windowsforms-devexpress-dot-xtraeditors-dot-breadcrumbnode-ce9cca66.md

latest2.9 KB
Original Source

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

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDefaultDescription
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

ImageIndex

RootImageIndex

Breadcrumb Edit Control

BreadCrumbNode Class

BreadCrumbNode Members

DevExpress.XtraEditors Namespace