Back to Devexpress

RecentItemControl.DefaultContentPanel Property

windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-recentitemcontrol-f37ad466.md

latest2.7 KB
Original Source

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

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDefaultDescription
RecentPanelBasenull

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.

See Also

MainPanel

ContentPanel

Recent Item Control

RecentItemControl Class

RecentItemControl Members

DevExpress.XtraBars.Ribbon Namespace