LayoutGroup.TabStyle Property

Gets or sets a style applied to the group's individual tabs, when the group is represented as a tab container. This is a dependency property.

Namespace: DevExpress.Xpf.LayoutControl

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


public Style TabStyle { get; set; }
Public Property TabStyle As Style

Property Value

Type Description

A Style object that is applied to the group's individual styles.


The target type: DXTabItem. To learn more about styles, see the Styling and Templating topic in MSDN.

When the LayoutGroup.View property is set to LayoutGroupView.Tabs, a new DXTabControl object is internally created. It's used to visually represent the current LayoutGroup in this paint mode. The LayoutGroup's children are represented as tabs by DXTabItem objects. The TabStyle style is applied to these DXTabItem objects.

To simultaneously specify a common TabStyle for all tabbed groups within a LayoutControl, use the LayoutControl's inherited TabStyle property. The control's child groups will be painted according to the LayoutControl's TabStyle style, provided that a group doesn't override this style via its own TabStyle property.

See Also