Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

XtraBaseArgs.HtmlTemplate Property

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

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.2.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