Dela via


ToggleSwitch.Header Property

Definition

Gets or sets the header content.

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 = toggleSwitch.header;
toggleSwitch.header = object;
Public Property Header As Object
<ToggleSwitch Header="textContent" />
- or -
<ToggleSwitch>
  <ToggleSwitch.Header>
    singleUIElement
  </ToggleSwitch.Header>
</ToggleSwitch>

Property Value

Object

Platform::Object

IInspectable

The header content for the ToggleSwitch.

Applies to