RecentPanelBase.Caption Property

Gets or sets this RecentPanelBase object's title.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

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

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