Back to Devexpress

LayoutGroup.HeaderTemplate Property

wpf-devexpress-dot-xpf-dot-layoutcontrol-dot-layoutgroup-0519c1bb.md

latest3.1 KB
Original Source

LayoutGroup.HeaderTemplate Property

Gets or sets a data template used to display the group’s header. This is a dependency property.

Namespace : DevExpress.Xpf.LayoutControl

Assembly : DevExpress.Xpf.LayoutControl.v25.2.dll

NuGet Package : DevExpress.Wpf.LayoutControl

Declaration

csharp
public DataTemplate HeaderTemplate { get; set; }
vb
Public Property HeaderTemplate As DataTemplate

Property Value

TypeDescription
DataTemplate

A DataTemplate object used to display the LayoutGroup.Header.

|

Remarks

A LayoutGroup’s header is displayed when:

To specify a header for a LayoutGroup, you can use the LayoutGroup.Header property. For groups displayed as tabs, you can also provide headers via the LayoutControl.TabHeader attached property. For these groups, the LayoutControl.TabHeader property, if specified, overrides the LayoutGroup.Header property.

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

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

See Also

TabHeader

TabHeaderTemplate

Header

LayoutGroup Class

LayoutGroup Members

DevExpress.Xpf.LayoutControl Namespace