Skip to main content
A newer version of this page is available. .

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.v19.2.dll

Declaration

[DXCategory("Appearance")]
[DefaultValue(false)]
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