wpf-devexpress-dot-xpf-dot-docking-dot-layoutgroup-6ddad27c.md
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.v25.2.dll
NuGet Package : DevExpress.Wpf.Docking
public BaseLayoutItem SelectedItem { get; }
Public ReadOnly Property SelectedItem As BaseLayoutItem
| Type | Description |
|---|---|
| BaseLayoutItem |
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