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

HtmlContentPopup.HtmlTemplate Property

Gets the window’s HTML-CSS template.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DXCategory("Layout")]
public HtmlTemplate HtmlTemplate { get; }

#Property Value

Type Description
HtmlTemplate

The window’s HTML-CSS template.

#Remarks

At design time, click the component’s smart tag and select the Edit Template command to open the HTML-CSS editor.

HtmlContentPopup EditTemplate Action

Use the HtmlTemplate property to specify HTML markup and CSS styles in code. The HtmlTemplate object exposes two nested properties for this purpose:

  • HtmlTemplate.Template — Specifies HTML code that defines the layout of UI elements.
  • HtmlTemplate.Styles — Specifies CSS styles applied to the UI elements.

See the following topic for more information: HtmlContentPopup.

See Also