BackstageViewControl.SelectedTab Property
Gets or sets the currently selected tab item.
Namespace: DevExpress.XtraBars.Ribbon
Assembly: DevExpress.XtraBars.v24.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
[DefaultValue(null)]
[DXCategory("Appearance")]
public BackstageViewTabItem SelectedTab { get; set; }
Property Value
Type | Default | Description |
---|---|---|
BackstageViewTabItem | null | A BackstageViewTabItem object that is the currently selected tab item. |
Remarks
A BackstageViewControl displays the contents of a currently selected tab item in the right panel.
You can select a tab item in code using the following properties:
- SelectedTab - You can assign the required tab item to this property.
- BackstageViewControl.SelectedTabIndex - Specifies the selected tab item by its index in the BackstageViewControl.Items collection.
- BackstageViewTabItem.Selected - Allows you to select a specific tab item by using this Boolean property.
To respond to selecting tab items, handle the BackstageViewControl.SelectedTabChanged or BackstageViewTabItem.SelectedChanged event.
See Also