XtraMdiTabPage.ImageIndex Property
Gets or sets the index of the image displayed within the tab page’s header.
Namespace: DevExpress.XtraTabbedMdi
Assembly: DevExpress.XtraBars.v18.2.dll
Declaration
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.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ImageIndex property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.