Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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