[Expand]General Information
[Collapse]WinForms Controls
  .NET Core Support
 [Expand]What's Installed
 [Expand]Build an Application
 [Collapse]Controls and Libraries
  [Expand]Forms and User Controls
  [Expand]Messages, Notifications, and Dialogs
  [Expand]Editors and Simple Controls
  [Collapse]Ribbon, Bars and Menu
    [Expand]The Ribbon UI
    [Expand]Visual Elements
    [Expand]Items and Item Links
     Ribbon Styles
    [Collapse]Main Menus
      Application Menu
      BackstageView Control
      Recent Item Control
    [Expand]Ribbon Control Designer
    [Expand]Runtime Capabilities
     Known Issues
   [Expand]Popup Menus
    Radial Menu
   [Expand]Common Features
  [Expand]Application UI Manager
  [Expand]Docking Library
  [Expand]Data Grid
  [Expand]Vertical Grid
  [Expand]Property Grid
  [Expand]Pivot Grid
  [Expand]Tree List
  [Expand]Gantt Control
  [Expand]Chart Control
  [Expand]Map Control
  [Expand]Rich Text Editor
  [Expand]Spell Checker
  [Expand]Form Layout Managers
  [Expand]Navigation Controls
  [Expand]PDF Viewer
  [Expand]TreeMap Control
  [Expand]Sunburst Control
 [Expand]Common Features
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Report and Dashboard Server
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

Recent Item Control

The Recent Item Control component provides various items (pin buttons, labels, separators, etc.) to assist you with efficiently building content for BackstageView Control tabs. A Recent Item Control must be added to the Controls collection of a BackstageView tab's BackstageViewTabItem.ContentControl object.

Expanded Control Regions

The Recent Item Control splits its area into three regions. Each region contains a panel (the RecentStackPanel class object) populated with other Visual Elements.

A splitter separates the main region and the content region. End-users can drag this splitter to resize these main and content areas. You can set the initial size ratio through the RecentItemControl.SplitterPosition property or disable the splitter by setting the RecentItemControl.ShowSplitter property to false.

A stack panel in each region has a header that displays a caption (the RecentPanelBase.Caption property) and an image (the RecentPanelBase.Glyph property). To hide panel headers, disable the RecentPanelBase.ShowCaption property.

To populate a panel with Visual Elements, use the panel smart-tag (see below) or add the required elements to the RecentPanelBase.Items collection manually.

Expanded Panel Elements

RecentStackPanel objects can host the following elements.


Regular clickable buttons represented by the RecentButtonItem class instances. These elements display text and images (the RecentTextGlyphItemBase.Caption and RecentTextGlyphItemBase.Glyph properties), as well as raise the RecentItemBase.ItemClick event on clicking. To align the image relatively to the text block, use the RecentButtonItem.Orientation property. You can also turn off the RecentButtonItem.AutoSize property to manually size your button as needed.


Objects of the RecentTabItem class that support selected states. When selected, a tab displays the RecentStackPanel object assigned with its RecentTabItem.TabPanel property in the control's content region. A currently selected tab can be set by using the RecentItemControl.SelectedTab property.

When you add tabs at design time, each tab automatically receives a related recent panel. When you add tabs in code, recent panels must be created manually.


Tab items can be hosted only within the main region's panel.


Labels are instances of the RecentLabelItem class. These items display static content, assigned to their RecentTextGlyphItemBase.Caption and RecentTextGlyphItemBase.Glyph properties. The RecentLabelItem.Style property allows you choose between small, medium and large label styles. Mixing labels of different styles allows you to implement complex blocks with titles, sub-titles and regular text.

If the RecentLabelItem.AllowSelect property is set to DefaultBoolean.True, labels become selectable and start supporting the hovered state. Regardless of this setting, every label raises the RecentItemBase.ItemClick and RecentItemBase.ItemPressed events when clicked.

Pin Items

These are advanced labels that are represented by the RecentPinItem class. Pin items display captions, descriptions and icons. At the element's right edge, there is a pin button that depending on the RecentPinItem.PinButtonVisibility property value can always be visible, always hidden or visible only on hover (default behavior). End-users can click this pin button at runtime, which fires the RecentPinItem.PinButtonCheckedChanged event and toggles the boolean RecentPinItem.PinButtonChecked property. You can use these members to implement your own pin item functionality in case you have a custom scenario.

The default behavior on clicking pin icons emulates that seen in Microsoft Office applications. When a user pins a Pin Item, the item moves up through regular (unpinned) Pin Items and separators. When the item meets any other element (a label, a button, a pinned Pin Item, etc.), it stops. To turn this default behavior off, set the RecentPanelBase.MovePinnedItemsUp property to false."


The RecentHyperlinkItem objects that display their captions as links. They provide the RecentHyperlinkItem.Link property, whose value is used to create a new instance of the System.Diagnostics.Process class that implements the hyperlink's functionality.


Solid thin horizontal lines that visually delimit neighboring UI elements. Represented by the RecentSeparatorItem class objects.

Content Containers

Content containers are objects of the RecentControlContainerItem type that display any custom control within. Each content container hosts a RecentControlItemControlContainer that provides the Controls collection. This collection stores all controls displayed by this content container. If the RecentControlContainerItem.FillSpace property equals true, the container occupies all available space below itself. Otherwise, the height is specified by the RecentControlContainerItem.ClientHeight property.

Expanded Example

This code sample illustrates how to initialize and populate a sample RecentItemControl in code. You can view and download this example from GitHub.

Is this topic helpful?​​​​​​​