Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 1.25 KB

combobox_headertemplate.md

File metadata and controls

41 lines (30 loc) · 1.25 KB
-api-id -api-type
P:Windows.UI.Xaml.Controls.ComboBox.HeaderTemplate
winrt property

Windows.UI.Xaml.Controls.ComboBox.HeaderTemplate

-description

Gets or sets the DataTemplate used to display the content of the control's header.

-xaml-syntax

<ComboBox>
  <ComboBox.HeaderTemplate>
    singleDataTemplate
  </ComboBox.HeaderTemplate>
</ComboBox>
- or -
<ComboBox 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.
## -property-value The template that specifies the visualization of the header object. The default is **null**.

-remarks

-examples

-see-also

Header