Skip to main content
A newer version of this page is available. .
All docs
V22.2

ItemsView.HtmlTemplates Property

Provides access to the collection of HTML-CSS templates.

Namespace: DevExpress.XtraGrid.Views.Items

Assembly: DevExpress.XtraGrid.v22.2.dll

NuGet Package: DevExpress.Win.Grid

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