Skip to main content
A newer version of this page is available. .

RecentLabelItem Class

A label item within the RecentItemControl.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v18.1.dll

Declaration

public class RecentLabelItem :
    RecentTextGlyphItemBase

Remarks

Objects of the RecentLabelItem class can serve as both static elements that display a caption and image, and interactive elements that can be selected and support hover and pressed visual states. This behavior depends on the RecentLabelItem.AllowSelect property value. In the figure below, the ‘Documents’ element is a label that supports selection.

RecentItemControl - Label Items

Labels provide multiple pre-defined styles than can be selected by using the RecentLabelItem.Style property.

See the Recent Item Control topic for more info.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the RecentLabelItem class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also