Back to Devexpress

BarItemLink.Caption Property

windowsforms-devexpress-dot-xtrabars-dot-baritemlink-95c823ca.md

latest2.0 KB
Original Source

BarItemLink.Caption Property

A string containing the item’s caption.

Namespace : DevExpress.XtraBars

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDescription
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

BarItemLink Class

BarItemLink Members

DevExpress.XtraBars Namespace