Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ToolboxElementBase.Caption Property

Gets or sets caption of the current ToolboxControl element.

Namespace: DevExpress.XtraToolbox

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#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.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