Skip to content

Latest commit

 

History

History
41 lines (29 loc) · 1.14 KB

datepicker_header.md

File metadata and controls

41 lines (29 loc) · 1.14 KB
-api-id -api-type
P:Windows.UI.Xaml.Controls.DatePicker.Header
winrt property

Windows.UI.Xaml.Controls.DatePicker.Header

-description

Gets or sets the content for the control's header.

-xaml-syntax

<DatePicker Header="headerString"/>
- or -
<DatePicker>
  <DatePicker.Header>headerObject</DatePicker.Header>
</DatePicker>

-xaml-values

headerString
headerStringA text string that serves as header content.
headerObject
headerObjectAn single object element that serves as header content. Use discretion when using objects as header content; not all objects are suitable for use within the limited presentation surface that appears for headers.
## -property-value The content of the control's header. The default is **null**.

-remarks

You can set a data template for the Header value by using the HeaderTemplate property.

-examples

-see-also

HeaderTemplate, Quickstart: Adding a DatePicker