Sdílet prostřednictvím


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

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

Applies to

See also