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

BackstageViewTabItem.Selected Property

Gets or sets whether the current item is selected (when it is displayed within a BackstageViewControl).

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DefaultValue(false)]
[DXCategory("Appearance")]
public bool Selected { get; set; }

#Property Value

Type Default Description
Boolean false

true if the current item is selected; otherwise, false.

#Remarks

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