A newer version of this page is available. Switch to the current version.

IButtonProperties.Caption Property

Gets or sets the current IButton object's caption.

Namespace: DevExpress.XtraEditors.ButtonPanel

Assembly: DevExpress.Utils.v19.2.dll


string Caption { get; set; }

Property Value

Type Description

A String value that is the current IButton object's caption.


Header Buttons and WindowUI Custom Buttons can have text, specified via the Caption property, and a glyph (see the IButtonProperties.Imageand IButtonProperties.ImageIndex properties). You can set whether only button's text, or a glyph, or both of them should be displayed via the IButtonProperties.UseCaption and IButtonProperties.UseImage properties. If both text and glyph are shown, use the IButtonProperties.ImageLocation property to set their relative positions.

See Also