Back to Devexpress

BackstageViewControl.SelectedTab Property

wpf-devexpress-dot-xpf-dot-ribbon-dot-backstageviewcontrol-1f23c7b7.md

latest2.7 KB
Original Source

BackstageViewControl.SelectedTab Property

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

Namespace : DevExpress.Xpf.Ribbon

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

NuGet Package : DevExpress.Wpf.Ribbon

Declaration

csharp
public BackstageTabItem SelectedTab { get; set; }
vb
Public Property SelectedTab As BackstageTabItem

Property Value

TypeDescription
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

SelectedTabIndex

Tabs

IsSelected

GetTabFromIndex(Int32)

GetTabIndex(BackstageTabItem)

BackstageViewControl Class

BackstageViewControl Members

DevExpress.Xpf.Ribbon Namespace