-api-id | -api-type |
---|---|
P:Windows.UI.Xaml.Controls.PasswordBox.Header |
winrt property |
Gets or sets the content for the control's header.
<PasswordBox Header="headerString"/>
- or -
<PasswordBox>
<PasswordBox.Header>headerObject</PasswordBox.Header>
</PasswordBox>
- headerString
- headerStringA text string that serves as header content.
- headerObject
- headerObjectA 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.
You can set a data template for the Header value by using the HeaderTemplate property.