LayoutGroup.SelectTab(FrameworkElement) Method

Selects the specified child, displayed as a tab within the current LayoutGroup. This member is in effect when the current group is rendered as a tabbed group.

Namespace: DevExpress.Xpf.LayoutControl

Assembly: DevExpress.Xpf.LayoutControl.v20.1.dll


public bool SelectTab(
    FrameworkElement child
Public Function SelectTab(
    child As FrameworkElement
) As Boolean


Name Type Description
child FrameworkElement

A FrameworkElement object that specifies the group's child to be selected


Type Description

true if the specified item has been selected; otherwise, false.


The SelectTab method is in effect when the group is represented as a tabbed group(the LayoutGroup.View property is set to LayoutGroupView.Tabs).

To get the currently selected child, use the LayoutGroup.SelectedTabChild. The index of the selected tab is specified by the LayoutGroup.SelectedTabIndex property.

See Also