Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

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

#Property Value

Type Default Description
RecentPanelBase null

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