Skip to main content

ToolboxElementBase.Caption Property

Gets or sets caption of the current ToolboxControl element.

Namespace: DevExpress.XtraToolbox

Assembly: DevExpress.XtraBars.v24.2.dll

Declaration

[DefaultValue("")]
[DXCategory("Appearance")]
public virtual string Caption { get; set; }

Property Value

Type Default Description
String String.Empty

A string value that specifies the ToolboxControl element (group or item) caption.

Remarks

The Caption and ToolboxElementBase.Image properties allow you to specify the caption and icon for the current ToolboxControl element. The ToolboxOptionsView.ItemViewMode option (accessible through the ToolboxControl.OptionsView property) specifies whether the caption, icon or both are displayed. If both, the distance between the caption and icon can be specified using the ToolboxOptionsView.ImageToTextDistance property.

See Also