HeaderedItemsControl.HeaderTemplate Property

Gets or sets a data template that is used to display the contents of the control's Header.

Namespace:  System.Windows.Controls
Assembly:  System.Windows.Controls (in System.Windows.Controls.dll)

public DataTemplate HeaderTemplate { get; set; }
<sdk:HeaderedItemsControl HeaderTemplate="templateReference"/>

XAML Values

templateReference

A StaticResource reference to a DataTemplate that defines the appearance of the header.

Property Value

Type: System.Windows.DataTemplate
Gets or sets a data template that is used to display the contents of the control's header. The default is null.

XAML usage for properties of HeaderedItemsControl also exists on TreeView. In this case, the object element you set the properties on is sdk:TreeView rather than sdk:HeaderedItemsControl.

Silverlight

Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show: