ListViewBase.HeaderTemplate Property

Definition

Gets or sets the DataTemplate used to display the content of the view header.

DataTemplate HeaderTemplate();

void HeaderTemplate(DataTemplate value);
public DataTemplate HeaderTemplate { get; set; }
Public Property HeaderTemplate As DataTemplate
<listViewBase HeaderTemplate="resourceReferenceToDataTemplate"/>
- or -
<listViewBase>
  <listViewBase.HeaderTemplate>
     <DataTemplate>
      dataTemplateDefinition
    </DataTemplate>
  </listViewBase.HeaderTemplate>
</listViewBase>

Property Value

DataTemplate

The template that specifies the visualization of the header object. The default is null.

Applies to

See also