HeaderedContentControl.Header Property

Gets or sets the data used for the header of each control.

Namespace: System.Windows.Controls
Assembly: PresentationFramework (in presentationframework.dll)
XML Namespace:  http://schemas.microsoft.com/winfx/2006/xaml/presentation

public Object Header { get; set; }
/** @property */
public Object get_Header ()

/** @property */
public void set_Header (Object value)

public function get Header () : Object

public function set Header (value : Object)

    <Object .../>

Property Value

A header object. The default value is null.

Identifier Field


Metadata Flags


ContentModel: This is the property used to add content to the header of a HeaderedContentControl. For more information on the content model for HeaderedContentControl, see Headered Content Control Content Model.

This example shows how the Header property of a HeaderedContentControl is used.

<HeaderedContentControl Background="LightBlue"
                        Content="This is the content"/>

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0