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.v20.1.dll

Declaration

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

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