Back to Devexpress

ToolboxElementBase.Caption Property

windowsforms-devexpress-dot-xtratoolbox-dot-toolboxelementbase.md

latest2.5 KB
Original Source

ToolboxElementBase.Caption Property

Gets or sets caption of the current ToolboxControl element.

Namespace : DevExpress.XtraToolbox

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDefaultDescription
StringString.Empty

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

|

Remarks

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

ImageOptions

ImageToTextDistance

ItemViewMode

ToolboxElementBase Class

ToolboxElementBase Members

DevExpress.XtraToolbox Namespace