Skip to main content

XtraTabPage.ImageIndex Property

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

Namespace: DevExpress.XtraTab

Assembly: DevExpress.XtraEditors.v23.2.dll

NuGet Package: DevExpress.Win.Navigation


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 XtraTabControl.Images list.


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.

See Also