Skip to main content
All docs
V24.1

XtraBaseArgs.HtmlTemplate Property

Returns the HTML-CSS template applied to this message or dialog.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public HtmlTemplate HtmlTemplate { get; }

Property Value

Type Description
HtmlTemplate

The custom message or dialog template.

Remarks

Call the Assign method to copy a template from a required source to this XtraBaseArgs object.

 msgArgs.HtmlTemplate.Assign(htmlContentControl1.HtmlTemplate);

See this documentation article for more information about templates in messages and dialogs: HTML and CSS Templates in Messages and Dialogs.

See Also