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

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

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

Declaration

public Style TabStyle { get; set; }

Property Value

Type Description
Style

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

Remarks

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