windowsforms-devexpress-dot-xtratoolbox-dot-toolboxelementbase.md
Gets or sets caption of the current ToolboxControl element.
Namespace : DevExpress.XtraToolbox
Assembly : DevExpress.XtraBars.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[DefaultValue("")]
[DXCategory("Appearance")]
public virtual string Caption { get; set; }
<DXCategory("Appearance")>
<DefaultValue("")>
Public Overridable Property Caption As String
| Type | Default | Description |
|---|---|---|
| String | String.Empty |
A string value that specifies the ToolboxControl element (group or item) caption.
|
The Caption and ToolboxElementBase.ImageOptions 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