Back to Devexpress

LayoutGroup.SelectedItem Property

wpf-devexpress-dot-xpf-dot-docking-dot-layoutgroup-6ddad27c.md

latest2.3 KB
Original Source

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

NuGet Package : DevExpress.Wpf.Docking

Declaration

csharp
public BaseLayoutItem SelectedItem { get; }
vb
Public ReadOnly Property SelectedItem As BaseLayoutItem

Property Value

TypeDescription
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

Activate

SelectedItemChanged

SelectedTabIndex

GroupBorderStyle

IsSelected

LayoutGroup Class

LayoutGroup Members

DevExpress.Xpf.Docking Namespace