windowsforms-devexpress-dot-xtragrid-dot-views-dot-items-dot-itemsview.md
Specifies the default HTML-CSS template used to generate items.
Namespace : DevExpress.XtraGrid.Views.Items
Assembly : DevExpress.XtraGrid.v25.2.dll
NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation
[DXCategory("Layout")]
public HtmlTemplate HtmlTemplate { get; }
<DXCategory("Layout")>
Public ReadOnly Property HtmlTemplate As HtmlTemplate
| Type | Description |
|---|---|
| HtmlTemplate |
An HTML-CSS template used to generate items.
|
The ItemsView generates its items from HTML-CSS templates. Use the HtmlTemplate property to specify the default template.
The HtmlTemplate object exposes two nested properties for this purpose:
At design time, you can use the Html Template Editor to specify HTML & CSS code.
See the following topic for more information: ItemsView.
See Also