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


public virtual int ImageIndex { get; set; }
Public Overridable Property ImageIndex As Integer

Property Value

Type Default Description


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