Back to Devexpress

RecentItemControl.SelectedTab Property

windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-recentitemcontrol-37b38ed5.md

latest2.6 KB
Original Source

RecentItemControl.SelectedTab Property

Gets or sets the currently selected tab within this RecentItemControl.

Namespace : DevExpress.XtraBars.Ribbon

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(null)]
[DXCategory("Behavior")]
public RecentTabItem SelectedTab { get; set; }
vb
<DXCategory("Behavior")>
<DefaultValue(Nothing)>
Public Property SelectedTab As RecentTabItem

Property Value

TypeDefaultDescription
RecentTabItemnull

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

MainPanel

ContentPanel

Recent Item Control

RecentItemControl Class

RecentItemControl Members

DevExpress.XtraBars.Ribbon Namespace