All docs
V20.1
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

XtraBaseArgs.HtmlImages Property

Gets or sets an ImageCollection or an SvgImageCollection. The XtraMessageBox can display images from this collection.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

public object HtmlImages { get; set; }
Public Property HtmlImages As Object

Property Value

Type Description
Object

An object that is an image collection.

Remarks

XtraMessageBox messages support HTML tags and can display images from an ImageCollection or SvgImageCollection

XtraMessageBoxImage

To do this, allow HTML text and assign an image collection to HtmlImages. Then add the "Image" tag to the Text and specify an image from a collection:

XtraMessageBoxArgs args = new XtraMessageBoxArgs();
args.AllowHtmlText = DevExpress.Utils.DefaultBoolean.True;
args.HtmlImages = htmlImageCollection;
args.Caption = "Message";
args.Text = "<image=img.png>Text";
XtraMessageBox.Show(args);
See Also