Back to Devexpress

RecentItemControl.ContentPanel Property

windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-recentitemcontrol-06cd4324.md

latest2.7 KB
Original Source

RecentItemControl.ContentPanel Property

Returns the panel currently displayed within this RecentItemControl‘s right region.

Namespace : DevExpress.XtraBars.Ribbon

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DXCategory("Behavior")]
[Browsable(false)]
public RecentPanelBase ContentPanel { get; }
vb
<DXCategory("Behavior")>
<Browsable(False)>
Public ReadOnly Property ContentPanel As RecentPanelBase

Property Value

TypeDescription
RecentPanelBase

A RecentPanelBase object that is the panel currently displayed within this RecentItemControl‘s right region.

|

Remarks

The RecentItemControl automatically switches its ContentPanel property value depending on which tab is currently selected within the control’s main region (see the figure below). If no tabs are selected, the ContentPanel property equals null and at the control’s right, end-users see the panel assigned to the RecentItemControl.DefaultContentPanel property instead. See the Recent Item Control topic to learn more about RecentItemControl regions.

See Also

MainPanel

DefaultContentPanel

Recent Item Control

RecentItemControl Class

RecentItemControl Members

DevExpress.XtraBars.Ribbon Namespace