Back to Devexpress

RecentPanelBase.Caption Property

windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-recentpanelbase-e8528b4f.md

latest2.2 KB
Original Source

RecentPanelBase.Caption Property

Gets or sets this RecentPanelBase object’s title.

Namespace : DevExpress.XtraBars.Ribbon

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue("")]
[DXCategory("Appearance")]
public string Caption { get; set; }
vb
<DefaultValue("")>
<DXCategory("Appearance")>
Public Property Caption As String

Property Value

TypeDefaultDescription
StringString.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

RecentPanelBase Class

RecentPanelBase Members

DevExpress.XtraBars.Ribbon Namespace