Skip to main content

RecentPanelBase.Caption Property

Gets or sets this RecentPanelBase object’s title.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue("")]
[DXCategory("Appearance")]
public string Caption { get; set; }

Property Value

Type Default Description
String String.Empty

A String value that is this RecentPanelBase object’s title.

Remarks

The Panel caption’s visibility is managed by the RecentPanelBase.ShowCaption property.

In addition to caption, you can also specify the panel icon. Use the RecentPanelBase.Glyph property to do so. The RecentPanelBase.GlyphToCaptionIndent property specifies the distance between the caption and the icon.

Tip

When you add a RecentTabItem at design time, a corresponding RecentPanelBase object is created automatically. By default, this panel has the same caption and icon as its related tab item.

See Also