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.v18.2.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
child | FrameworkElement | A FrameworkElement object that specifies the group’s child to be selected |
Returns
Type | Description |
---|---|
Boolean | true if the specified item has been selected; otherwise, false. |
Remarks
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