Skip to main content
All docs
V24.1

ItemsView.HtmlTemplates Property

Provides access to the collection of HTML-CSS templates.

Namespace: DevExpress.XtraGrid.Views.Items

Assembly: DevExpress.XtraGrid.v24.1.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