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


public BaseLayoutItem SelectedItem { get; }

Property Value

Type Description

A BaseLayoutItem object that represents the currently selected tab.


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