LayoutGroup.Header Property
Gets or sets the group's header. This is a dependency property.
Namespace: DevExpress.Xpf.LayoutControl
Assembly: DevExpress.Xpf.LayoutControl.v14.2.dll
#Declaration
#Property Value
Type | Description |
---|---|
Object | An object that represents the group's header. |
#Remarks
The object specified by the Header property is dispayed in the following cases:
- the group is represented as a GroupBox (the LayoutGroup.View property is set to LayoutGroupView.GroupBox)
the group is represented as a tab within a tabbed group (the LayoutGroup.View property is set to LayoutGroupView.Tabs).
It's possible to use the LayoutControl.TabHeader attached property to specify a tab header for any object displayed as a tab. The LayoutControl.TabHeader attached property, if specified, overrides the Header property.
Typically, you assign a text string to the Header or LayoutControl.TabHeader property. However, you can assign any object, and then specify how this object is rendered, by providing a template. To provide a template, use the LayoutGroup.HeaderTemplate property or the LayoutControl.TabHeaderTemplate attached property. The LayoutControl.TabHeaderTemplate attached property, if specified, overrides the LayoutGroup.HeaderTemplate property.
The Header property is not supported by the LayoutControl.