Back to Devexpress

LayoutGroup.Header Property

wpf-devexpress-dot-xpf-dot-layoutcontrol-dot-layoutgroup-c7714b04.md

latest3.6 KB
Original Source

LayoutGroup.Header Property

Gets or sets 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 object Header { get; set; }
vb
Public Property Header As Object

Property Value

TypeDescription
Object

An object that represents the group’s header.

|

Remarks

The object specified by the Header property is displayed in the following cases:

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.

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.

wpf-data-grid-extend-crud-operations/CS/DetailCollectionEditing/UserDetailView.xaml#L19

xml
<dxlc:DataLayoutItem Binding="{Binding Item.LastName}"/>
<dxlc:LayoutGroup Header="Issues" GroupBoxDisplayMode="Light" View="GroupBox" Orientation="Vertical">
    <dxb:ToolBarControl>

See Also

TabHeader

TabHeaderTemplate

HeaderTemplate

LayoutGroup Class

LayoutGroup Members

DevExpress.Xpf.LayoutControl Namespace