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

LayoutGroup.SelectedItem Property

Gets the selected child item within the current group (mostly, this property is used when the current group represents child items as tabs). This is a dependency property.

Namespace: DevExpress.Xpf.Docking

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

Declaration

public BaseLayoutItem SelectedItem { get; }

Property Value

Type Description
BaseLayoutItem

A BaseLayoutItem object that represents the currently selected tab.

Remarks

When a group represents child items as tabs, only one tab item can be selected at a time. Use the SelectedItem property to get this item.

Clicking a tab header selects a corresponding item. In code, you can select a tab item via the LayoutGroup.SelectedTabIndex property or LayoutController.Activate method.

To enable the tabbed interface for a LayoutGroup object, set the LayoutGroup.GroupBorderStyle property to GroupBorderStyle.Tabbed.

See Also