Skip to main content

BackstageViewControl.SelectedTab Property

Gets or sets the currently selected tab. This is a dependency property.

Namespace: DevExpress.Xpf.Ribbon

Assembly: DevExpress.Xpf.Ribbon.v24.2.dll

NuGet Package: DevExpress.Wpf.Ribbon

Declaration

public BackstageTabItem SelectedTab { get; set; }

Property Value

Type Description
BackstageTabItem

The currently selected BackstageTabItem.

Remarks

The SelectedTab allows you to define which tab is currently selected. One of the tabs within the BackstageViewControl is always selected. This item’s contents (BackstageTabItem.ControlPane) are displayed in the BackstageViewControl‘s right area. Selecting a tab item fires the BackstageViewControl.SelectedTabChanged event and sets the item’s BackstageTabItem.IsSelected property to true.

You can also select a tab item via the BackstageViewControl.SelectedTabIndex property. To get other tabs that are not selected at the moment, use the BackstageViewControl.Tabs list or the BackstageViewControl.GetTabFromIndex method. See these links to learn more.

See Also