Export (0) Print
Expand All

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

[LocalizabilityAttribute(LocalizationCategory.Label)] 
[BindableAttribute(true)] 
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>
  <object.Header>
    <Object .../>
  </object.Header>
</object>

Property Value

A header object. The default value is null.

Identifier Field

HeaderProperty

Metadata Flags

None

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"
                        Header="Header"
                        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

Community Additions

ADD
Show:
© 2014 Microsoft