Skip to main content

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.v24.1.dll

NuGet Package: DevExpress.Wpf.LayoutControl

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