Skip to main content

XtraMdiTabPage.Image Property

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

Namespace: DevExpress.XtraTabbedMdi

Assembly: DevExpress.XtraBars.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
public virtual Image Image { get; set; }

Property Value

Type Description
Image

A Image object which represents the image displayed within the tab page’s header.

Remarks

Tab pages can display images in headers.

image

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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Image 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.

See Also