Windows.UI.Xaml.Controls.TextBox.Header

June 22, 2022 ยท View on GitHub

-description

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

-xaml-syntax

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

-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 by using the HeaderTemplate property.

-examples

-see-also

HeaderTemplate