XtraMdiTabPage.ImageIndex Property

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

Namespace: DevExpress.XtraTabbedMdi

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

[Browsable(false)]
[DefaultValue(-1)]
public virtual int ImageIndex { get; set; }
<Browsable(False)>
<DefaultValue(-1)>
Public Overridable Property ImageIndex As Integer

Property Value

Type Default Description
Int32

-1

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

Remarks

Tab pages can display images in headers.

The ImageOptions property provides access to a set of options that specify the raster or vector image displayed in the header.

The Image property and the Image property accessible through the XtraMdiTabPage.ImageOptions property are equivalent and allow you to specify a raster image for the tab header.

The ImageIndex property and the ImageIndex property accessible through the XtraMdiTabPage.ImageOptions property are equivalent and allow you to specify an index of an image from the XtraTabbedMdiManager.Images collection.

The Image property has priority over the ImageIndex property.

Implements

DevExpress.XtraTab.IXtraTabPage.ImageIndex
See Also