Skip to main content
A newer version of this page is available. .

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.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.LayoutControl, DevExpress.Wpf.Layout

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 snippet (auto-collected from DevExpress Examples) contains a reference 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