Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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