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

ItemsView.HtmlTemplates Property

Provides access to the collection of HTML-CSS templates.

Namespace: DevExpress.XtraGrid.Views.Items

Assembly: DevExpress.XtraGrid.v24.2.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation

#Declaration

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

#Property Value

Type Description
HtmlTemplateCollection

A collection of HTML-CSS tile templates.

#Remarks

The HtmlTemplates property allows you to create multiple HTML-CSS templates at design time.

ItemsView - Html templates - editor

When you handle the ItemsView.QueryItemTemplate event, you can retrieve these templates from the HtmlTemplates collection, and assign them to individual items.

See the ItemsView.QueryItemTemplate event for more information.

See Also