PasswordBox.Header Property


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

Equivalent WinUI property: Microsoft.UI.Xaml.Controls.PasswordBox.Header.

 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 = passwordBox.header;
passwordBox.header = object;
Public Property Header As Object
<PasswordBox Header="headerString"/>
- or -

Property Value


The content of the control's header. The default is null.


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

Applies to

See also