Skip to main content

RecentPanelBase.Caption Property

Gets or sets this RecentPanelBase object’s title.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v25.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.

The panel can also display an image/icon. Use the RecentPanelBase.ImageOptions property to specify the image. The RecentPanelBase.GlyphToCaptionIndent property specifies the distance between the caption and image.

Tip

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

See Also