Share via


Expander.Header Property

Definition

Gets or sets the XAML content that is displayed in the header of the Expander.

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 = expander.header;
expander.header = object;
Public Property Header As Object

Property Value

Object

Platform::Object

IInspectable

The XAML content that is displayed in the header.

Examples

Tip

For more info, design guidance, and code examples, see Expander.

The WinUI 3 Gallery app includes interactive examples of most WinUI 3 controls, features, and functionality. Get the app from the Microsoft Store or get the source code on GitHub.

Applies to

See also