Skip to main content
A newer version of this page is available. .
Tab

VerticalGridTemplates.DataItem Property

Gets or sets a template for displaying data cells.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(null)]
public virtual ITemplate DataItem { get; set; }

Property Value

Type Default Description
ITemplate *null*

An object that implements the ITemplate interface.

Remarks

A record provides the VerticalGridDataRow.DataItemTemplate property, which provides you a custom template for displaying its cells. To learn more, see Templates.

Note

Once a template defined via the DataItem property is created in a grid control, it is instantiated in a container object of the VerticalGridDataItemTemplateContainer type. This container object exposes a set of specific properties to which the template’s child controls can be bound.

See Also