Skip to main content

RecentItemControl.DefaultContentPanel Property

Returns the panel, displayed within the control’s right region when the left (main) region has no currently selected tabs.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DXCategory("Behavior")]
public RecentPanelBase DefaultContentPanel { get; set; }

Property Value

Type Description
RecentPanelBase

A RecentPanelBase object that is the panel displayed within the control’s right region when the left (main) region has no currently selected tabs.

Remarks

If the panel assigned to the RecentItemControl.MainPanel property contains tabs (the RecentTabItem class objects), and any of these tabs are currently selected, the panel assigned to the RecentItemControl.ContentPanel property is shown within the control’s right (content) region. Otherwise, the content region displays a panel assigned to the DefaultContentPanel property (see the figure below). Refer to the Recent Item Control topic to learn more.

RecentControl - Main and Default Content Regions

See Also