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

BarItemImageOptions.ImageIndex Property

Gets or sets the index of a small glyph assigned to this BarItem.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v19.2.dll

Declaration

[DefaultValue(-1)]
[DXCategory("Appearance")]
[ImageList("Images")]
public override int ImageIndex { get; set; }

Property Value

Type Default Description
Int32 -1

The index of an image in the collection of small images.

Property Paths

You can access this nested property as listed below:

Show 36 property paths
Object Type Path to ImageIndex
BarBaseButtonItem
.ImageOptions.ImageIndex
BarBaseButtonItemLink
.ImageOptions.ImageIndex
BarButtonGroup
.ImageOptions.ImageIndex
BarButtonGroupLink
.ImageOptions.ImageIndex
BarButtonItem
.ImageOptions.ImageIndex
BarButtonItemLink
.ImageOptions.ImageIndex
BarCheckItem
.ImageOptions.ImageIndex
BarCheckItemLink
.ImageOptions.ImageIndex
BarCustomContainerItem
.ImageOptions.ImageIndex
BarCustomContainerItemLink
.ImageOptions.ImageIndex
BarDockingMenuItem
.ImageOptions.ImageIndex
BarDockingMenuItemLink
.ImageOptions.ImageIndex
BarEditItem
.ImageOptions.ImageIndex
BarEditItemLink
.ImageOptions.ImageIndex
BarHeaderItem
.ImageOptions.ImageIndex
BarHeaderItemLink
.ImageOptions.ImageIndex
BarItem
.ImageOptions.ImageIndex
BarItemLink
.ImageOptions.ImageIndex
BarLargeButtonItem
.ImageOptions.ImageIndex
BarLargeButtonItemLink
.ImageOptions.ImageIndex
BarLinkContainerItem
.ImageOptions.ImageIndex
BarLinkContainerItemLink
.ImageOptions.ImageIndex
BarListItem
.ImageOptions.ImageIndex
BarListItemLink
.ImageOptions.ImageIndex
BarMdiChildrenListItem
.ImageOptions.ImageIndex
BarMdiChildrenListItemLink
.ImageOptions.ImageIndex
BarStaticItem
.ImageOptions.ImageIndex
BarStaticItemLink
.ImageOptions.ImageIndex
BarSubItem
.ImageOptions.ImageIndex
BarSubItemLink
.ImageOptions.ImageIndex
BarToggleSwitchItem
.ImageOptions.ImageIndex
BarToggleSwitchItemLink
.ImageOptions.ImageIndex
BarToolbarsListItem
.ImageOptions.ImageIndex
BarToolbarsListItemLink
.ImageOptions.ImageIndex
RibbonGalleryBarItem
.ImageOptions.ImageIndex
RibbonGalleryBarItemLink
.ImageOptions.ImageIndex

Remarks

For details, see the BarItem.ImageIndex property which is equivalent to the current setting.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ImageIndex property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also