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

LayoutGroup.GroupBorderStyle Property

Gets or sets the group’s border style. This option is in effect when the LayoutGroup is used to combine layout items. This is a dependency property.

Namespace: DevExpress.Xpf.Docking

Assembly: DevExpress.Xpf.Docking.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Docking, DevExpress.Wpf.Navigation

Declaration

public virtual GroupBorderStyle GroupBorderStyle { get; set; }

Property Value

Type Description
GroupBorderStyle

A GroupBorderStyle value that specifies the group’s border style.

Available values:

Name Description
NoBorder

A container has no borders.

Group

A container is displayed with borders and a caption.

LayoutGroup_GroupBorderStyle_Group

GroupBox

A container is displayed with borders and a title bar.

LayoutGroup_GroupBorderStyle_GroupBox

Tabbed

Child items are displayed as tabs.

LayoutGroup_GroupBorderStyle_Tabbed

Remarks

Set the BaseLayoutItem.ShowCaption property to false to hide the group’s caption that the BaseLayoutItem.Caption property specifies.

You can increase indents for groups without borders. Refer to the LayoutGroup.HasAccent for more information.

Note

Group border styles can vary based on the application’s DevExpress Theme.

View Example: How To Enable The Tabbed UI For a LayoutGroup

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GroupBorderStyle 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