windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-backstageviewtabitem-05e1d165.md
Gets or sets whether the current item is selected (when it is displayed within a BackstageViewControl).
Namespace : DevExpress.XtraBars.Ribbon
Assembly : DevExpress.XtraBars.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[DefaultValue(false)]
[DXCategory("Appearance")]
public bool Selected { get; set; }
<DXCategory("Appearance")>
<DefaultValue(False)>
Public Property Selected As Boolean
| Type | Default | Description |
|---|---|---|
| Boolean | false |
true if the current item is selected; otherwise, false.
|
When a tab item is selected, its contents are displayed in a BackstageViewControl‘s right panel. Setting the Selected property is not in effect when the BackstageViewTabItem does not belong to a BackstageViewControl.
You can also select a tab item via the BackstageViewControl.SelectedTab and BackstageViewControl.SelectedTabIndex properties.
To respond to selecting a tab item, you can handle the BackstageViewTabItem.SelectedChanged or BackstageViewControl.SelectedTabChanged event.
See Also