Back to Devexpress

TreeListTemplates.DataCell Property

aspnet-devexpress-dot-web-dot-aspxtreelist-dot-treelisttemplates.md

latest1.9 KB
Original Source

TreeListTemplates.DataCell Property

Gets or sets a template for displaying data cells.

Namespace : DevExpress.Web.ASPxTreeList

Assembly : DevExpress.Web.ASPxTreeList.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue(null)]
public ITemplate DataCell { get; set; }
vb
<DefaultValue(Nothing)>
Public Property DataCell As ITemplate

Property Value

TypeDefaultDescription
ITemplatenull

An object that implements the ITemplate interface.

|

Remarks

A data column provides the TreeListDataColumn.DataCellTemplate property that provides you a custom template for displaying its cells.

Note

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

See Also

Tree List

TreeListTemplates Class

TreeListTemplates Members

DevExpress.Web.ASPxTreeList Namespace