XtraTabPage.ImageIndex Property

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

Namespace: DevExpress.XtraTab

Assembly: DevExpress.XtraEditors.v20.2.dll

Declaration

[Browsable(false)]
[DefaultValue(-1)]
[ImageList("Images")]
public virtual int ImageIndex { get; set; }
<Browsable(False)>
<DefaultValue(-1)>
<ImageList("Images")>
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 XtraTabControl.Images list.

Remarks

Use this property to associate an image from the XtraTabControl.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 XtraTabPage.Image property. If both the XtraTabPage.Image and ImageIndex properties are specified the page header displays the image specified by the XtraTabPage.Image property, as the Image property has a higher priority than the ImageIndex property.

Implements

DevExpress.XtraTab.IXtraTabPage.ImageIndex
See Also