Windows.UI.Xaml.Controls.TextBox.HeaderTemplate
June 22, 2022 ยท View on GitHub
-description
Gets or sets the DataTemplate used to display the content of the control's header.
-xaml-syntax
<TextBox>
<TextBox.HeaderTemplate>
singleDataTemplate
</TextBox.HeaderTemplate>
</TextBox>
- or -
<TextBox HeaderTemplate="resourceReferenceToDataTemplate"/>
-xaml-values
- singleDataTemplate
- singleDataTemplateA single DataTemplate object element. That DataTemplate would typically have multiple child elements that define the visual appearance of the data representation.
- resourceReferenceToDataTemplate
- resourceReferenceToDataTemplateA resource reference to an existing DataTemplate from a resources collection. The resource reference must specify the desired DataTemplate by key through a {StaticResource} markup extension usage.