Share via


RibbonContextualTabGroup.HeaderTemplate Property

Gets or sets the DataTemplate that is used to display the contents of the header.

Namespace:  Microsoft.Windows.Controls.Ribbon
Assembly:  RibbonControlsLibrary (in RibbonControlsLibrary.dll)

Syntax

'Declaration
Public Property HeaderTemplate As DataTemplate
public DataTemplate HeaderTemplate { get; set; }
public:
property DataTemplate^ HeaderTemplate {
    DataTemplate^ get ();
    void set (DataTemplate^ value);
}
member HeaderTemplate : DataTemplate with get, set
function get HeaderTemplate () : DataTemplate
function set HeaderTemplate (value : DataTemplate)

Property Value

Type: System.Windows.DataTemplate
A template that specifies the visualization of the header. The registered default is nulla null reference (Nothing in Visual Basic). For more information about what can influence the value, see Dependency Property Value Precedence.

Dependency Property Information

Identifier field

HeaderTemplateProperty

Metadata properties set to true

None

.NET Framework Security

See Also

Reference

RibbonContextualTabGroup Class

Microsoft.Windows.Controls.Ribbon Namespace

HeaderTemplateSelector

HeaderStringFormat