Skip to main content

TreeListTemplates.HeaderCaption Property

Gets or sets a template for displaying column header captions.

Namespace: DevExpress.Web.ASPxTreeList

Assembly: DevExpress.Web.ASPxTreeList.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

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

Property Value

Type Default Description
ITemplate null

An object that implements the ITemplate interface.

Remarks

A column has the TreeListColumn.HeaderCaptionTemplate property, providing a custom template for displaying the caption of its header.

Note

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

See Also