Skip to main content

LayoutGroup.GroupBoxDisplayMode Property

Gets or sets the display mode of the current LayoutGroup header when this group is displayed as a group box. This is a dependency property.

Namespace: DevExpress.Xpf.LayoutControl

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

NuGet Package: DevExpress.Wpf.LayoutControl

Declaration

public GroupBoxDisplayMode GroupBoxDisplayMode { get; set; }

Property Value

Type Description
GroupBoxDisplayMode

A GroupBoxDisplayMode enumerator value that specifies the display mode of the current LayoutGroup header.

Available values:

Name Description
Default

Equal to the GroupBoxDisplayMode.Normal value.

Normal

Container headers should be painted by default.

Light

Container headers should be painted more lightly.

Remarks

There are two display modes for the LayoutGroup header, when this group’s LayoutGroup.View property is set to LayoutGroupView.GroupBox.

The GroupBoxDisplayMode.Default value corresponds to the GroupBoxDisplayMode.Normal display mode.

Also, you can specify how the header is rendered by providing a template. To provide a template, use the LayoutGroup.HeaderTemplate property.

The following code snippets (auto-collected from DevExpress Examples) contain references to the GroupBoxDisplayMode 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.

See Also