PasswordBox.Header Property
Definition
Gets or sets the content for the control's header.
Equivalent WinUI property: Microsoft.UI.Xaml.Controls.PasswordBox.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 = passwordBox.header;
passwordBox.header = object;
Public Property Header As Object
<PasswordBox Header="headerString"/>
- or -
<PasswordBox>
<PasswordBox.Header>headerObject</PasswordBox.Header>
</PasswordBox>
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.