DataListHeaderTemplate Property
The template control type to use for the header
Namespace: EWSoftware.ListControlsAssembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2023.4.9.0
public Type HeaderTemplate { get; set; }
Public Property HeaderTemplate As Type
Get
Set
public:
property Type^ HeaderTemplate {
Type^ get ();
void set (Type^ value);
}
member HeaderTemplate : Type with get, set
Property Value
Type The header template is bound to the data source as a whole rather than an individual row.
If not set, a header section will not be shown.
// AddressHeader is a user control derived from TemplateControl
dataList.HeaderTemplate = typeof(AddressHeader);
' AddressHeader is a user control derived from TemplateControl
dataList.HeaderTemplate = GetType(AddressHeader)
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.