ListViewBase.HeaderTemplate Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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; }
var dataTemplate = listViewBase.headerTemplate;
listViewBase.headerTemplate = dataTemplate;
Public Property HeaderTemplate As DataTemplate
<listViewBase HeaderTemplate="resourceReferenceToDataTemplate"/>
- or -
<listViewBase>
<listViewBase.HeaderTemplate>
<DataTemplate>
dataTemplateDefinition
</DataTemplate>
</listViewBase.HeaderTemplate>
</listViewBase>
Property Value
The template that specifies the visualization of the header object. The default is null.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort: Gedurende 2024 worden GitHub Issues uitgefaseerd als het feedbackmechanisme voor inhoud. Dit wordt vervangen door een nieuw feedbacksysteem. Ga voor meer informatie naar:Feedback verzenden en bekijken voor