Bar

BarItemLink.Caption Property

A string containing the item's caption.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

public virtual string Caption { get; set; }
Public Overridable Property Caption As String

Property Value

Type Description
String

The item's caption.

Remarks

Caption represents an item within a bar if the BarItemLink.PaintStyle property of that item is set to BarItemPaintStyle.Caption or BarItemPaintStyle.CaptionGlyph or the item has no associated icon. This property value may differ from the BarItem.Caption property. The item caption can be used to assign a hot key to the current item. This hotkey is one of the caption's symbols used to activate a specific item. The caption symbol used for a hot key combination is defined by entering an ampersand before the required symbol. The appropriate symbol is underlined within the caption. For more information on hotkey combinations explore the BarItemLink.Accelerator topic in this manual.

See Also