GroupBox.DisplayMode Property
Gets or sets the display mode of the current GroupBox header. This is a dependency property.
Namespace: DevExpress.Xpf.LayoutControl
Assembly: DevExpress.Xpf.LayoutControl.v24.2.dll
NuGet Package: DevExpress.Wpf.LayoutControl
Declaration
Property Value
Type | Description |
---|---|
GroupBoxDisplayMode | A GroupBoxDisplayMode enumerator value that specifies the display mode of the current GroupBox 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 GroupBox headers.
the GroupBoxDisplayMode.Light display mode specifies that the GroupBox should paint its header more lightly, without excessive highlighting (see the figure below);
The GroupBox uses the GroupBox.LightTemplate template to paint its headers in this display mode.
the GroupBoxDisplayMode.Normal display mode uses more intensive header highlighting for the current GroupBox (see the figure below).
Use the GroupBox.NormalTemplate property to specify the template that will be used to paint GroupBox header in the normal mode.
The GroupBoxDisplayMode.Default value corresponds to the GroupBoxDisplayMode.Normal display mode.