RecentItemControl.SelectedTab Property

Gets or sets the currently selected tab within this RecentItemControl.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

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

Property Value

Type Description
RecentTabItem

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