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, rather than dock items. This is a dependency property.

Namespace: DevExpress.Xpf.Docking

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


public virtual GroupBorderStyle GroupBorderStyle { get; set; }
Public Overridable Property GroupBorderStyle As GroupBorderStyle

Property Value

Type Description

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


Use the GroupBorderStyle property to specify how the group's borders are rendered.

The GroupBorderStyle.Group style:


The GroupBorderStyle.GroupBox style:


The GroupBorderStyle.Tabbed style:


Note that the same group border style may be visually rendered differently in different paint themes.

The group's caption specified by the BaseLayoutItem.Caption property is not displayed if the BaseLayoutItem.ShowCaption option is disabled.

For groups without borders, you can enable larger indents than those of other groups. See LayoutGroup.HasAccent to learn more.


This example shows how to create a LayoutGroup, representing its children as tabs. The tabbed interface for the group is enabled via the GroupBorderStyle property.

The following image shows the result:


Imports Microsoft.VisualBasic
Imports System
Imports System.Collections.Generic
Imports System.Linq
Imports System.Text
Imports System.Windows
Imports System.Windows.Controls
Imports System.Windows.Data
Imports System.Windows.Documents
Imports System.Windows.Input
Imports System.Windows.Media
Imports System.Windows.Media.Imaging
Imports System.Windows.Navigation
Imports System.Windows.Shapes

Namespace Docking_Layout_TabGroups
    ''' <summary>
    ''' Interaction logic for MainWindow.xaml
    ''' </summary>
    Partial Public Class MainWindow
        Inherits Window
        Public Sub New()
        End Sub
    End Class
End Namespace
See Also