Skip to main content

LayoutControl.TabHeaderTemplate Attached Property

Gets or sets a data template used to display the headers of items displayed as tabs within a tabbed group. This is an attached property.

Namespace: DevExpress.Xpf.LayoutControl

Assembly: DevExpress.Xpf.LayoutControl.v24.1.dll

NuGet Package: DevExpress.Wpf.LayoutControl

Declaration

Returns

Type Description
DataTemplate

A DataTemplate object used to display a tab header.

Remarks

You can implement a tabbed group by using a LayoutGroup container, and setting its LayoutGroup.View property to LayoutGroupView.Tabs.

A tabbed group’s items are represented as tabs. To provide tab headers for these items, use the LayoutControl.TabHeader attached property. For LayoutGroup objects displayed as tabs, you can use the LayoutGroup.Header property instead. For these groups, the LayoutControl.TabHeader property, if specified, overrides the LayoutGroup.Header property.

Similarly, you can provide a template used to display a tab header via the TabHeaderTemplate attached property. For LayoutGroups displayed as tabs, you can also provide a template via the LayoutGroup.HeaderTemplate property. For these groups, the TabHeaderTemplate property, if specified, overrides the LayoutGroup.HeaderTemplate property.

For more information on data templates, see Data Templating Overview topic.

See Also