Skip to main content

RecentItemControl.SelectedTab Property

Gets or sets the currently selected tab within this RecentItemControl.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v22.2.dll

NuGet Package: DevExpress.Win.Navigation


public RecentTabItem SelectedTab { get; set; }

Property Value

Type Description

A RecentTabItem object that is the currently selected tab.


A RecentItemControl is capable of displaying tab items within its main region panel (see the RecentItemControl.MainPanel property description to learn about RecentItemControl regions). The SelectedTab property allows you to select which main region tab should currently be selected. Changing the currently selected tab fires the RecentItemControl.SelectedTabChanged event.

When you modify the SelectedTab property, a currently selected tab automatically assigns its related panel to the RecentItemControl.ContentPanel property. There is no need to do it manually.

See Also