Back to Devexpress

ItemsView.HtmlTemplates Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-items-dot-itemsview-4ecbd291.md

latest2.0 KB
Original Source

ItemsView.HtmlTemplates Property

Provides access to the collection of HTML-CSS templates.

Namespace : DevExpress.XtraGrid.Views.Items

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
[DXCategory("Layout")]
public HtmlTemplateCollection HtmlTemplates { get; }
vb
<DXCategory("Layout")>
Public ReadOnly Property HtmlTemplates As HtmlTemplateCollection

Property Value

TypeDescription
HtmlTemplateCollection

A collection of HTML-CSS tile templates.

|

Remarks

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

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

HtmlTemplate

QueryItemTemplate

ItemsView Class

ItemsView Members

DevExpress.XtraGrid.Views.Items Namespace