Delen via


DatePicker.Header Property

Definition

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

public:
 property Platform::Object ^ Header { Platform::Object ^ get(); void set(Platform::Object ^ value); };
IInspectable Header();

void Header(IInspectable value);
public object Header { get; set; }
var object = datePicker.header;
datePicker.header = object;
Public Property Header As Object
<DatePicker Header="headerString"/>
- or -
<DatePicker>
  <DatePicker.Header>headerObject</DatePicker.Header>
</DatePicker>

Property Value

Object

Platform::Object

IInspectable

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.

Applies to

See also