RecentItemControl.SelectedTab Property
Gets or sets the currently selected tab within this RecentItemControl.
Namespace: DevExpress.XtraBars.Ribbon
Assembly: DevExpress.XtraBars.v24.2.dll
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.