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

RecentItemControl.SelectedTab Property

Gets or sets the currently selected tab within this RecentItemControl.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DefaultValue(null)]
[DXCategory("Behavior")]
public RecentTabItem SelectedTab { get; set; }

#Property Value

Type Default Description
RecentTabItem null

A RecentTabItem object that is the currently selected tab.

#Remarks

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