LayoutGroup.Header Property
Gets or sets the group’s header. This is a dependency property.
Namespace: DevExpress.Xpf.LayoutControl
Assembly: DevExpress.Xpf.LayoutControl.v24.1.dll
NuGet Package: DevExpress.Wpf.LayoutControl
Declaration
Property Value
Type | Description |
---|---|
Object | An object that represents the group’s header. |
Remarks
The object specified by the Header property is displayed 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.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Header property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.