A newer version of this page is available. Switch to the current version.

XtraMdiTabPage.ImageIndex Property

Gets or sets the index of the image displayed within the tab page’s header.

Namespace: DevExpress.XtraTabbedMdi

Assembly: DevExpress.XtraBars.v19.1.dll

Declaration

[DefaultValue(-1)]
public virtual int ImageIndex { get; set; }

Property Value

Type Default Description
Int32

-1

A zero-based integer value specifying the index of an image within the XtraTabbedMdiManager.Images list.

Remarks

Use this property to associate an image from the XtraTabbedMdiManager.Images list with the current tab page. Images associated with tab pages are displayed within their headers.

The header’s image can also be specified using the XtraMdiTabPage.Image property. If both the XtraMdiTabPage.Image and ImageIndex properties are specified the page header displays the image specified by the XtraMdiTabPage.Image property, as the XtraMdiTabPage.Image property has a higher priority than the ImageIndex property.

See Also