RecentItemControl.MainPanel Property
Provides access to the panel assigned to the RecentItemControl‘s main region.
Namespace: DevExpress.XtraBars.Ribbon
Assembly: DevExpress.XtraBars.v24.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
Property Value
Type | Description |
---|---|
RecentPanelBase | A RecentPanelBase object that is the panel assigned to the RecentItemControl‘s main region. |
Remarks
The RecentItemControl contains two regions:
- Main region - the region to the control’s left, where all the main RecentItemControl elements are hosted. Represented by a RecentPanelBase object assigned to the MainPanel property.
- Default content region - the region to the control’s right, visible only if the main region has no currently selected tabs. This region is used to display secondary RecentItemControl content. To customize this region, modify a RecentPanelBase object assigned to the RecentItemControl.DefaultContentPanel property.
- Content region - a region with the exact same location and size as the default content region, but displayed above it. Each tab item has an associated RecentPanelBase object that stores the tab content. Whenever an end-user selects a tab within the main region, a related panel is assigned to the RecentItemControl.ContentPanel property.
To specify initial widths of main and (default) content regions, use the RecentItemControl.MainPanelMinWidth and RecentItemControl.ContentPanelMinWidth properties.
Main and (default) content regions are delimited with a splitter. If the RecentItemControl.ShowSplitter property is not set to false, end-users will be able to resize these neighboring regions.
See the Recent Item Control topic to learn more.