ToolboxElementBase Class
Represents a base class for ToolboxControl elements (groups and items).
Namespace: DevExpress.XtraToolbox
Assembly: DevExpress.XtraBars.v24.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
Remarks
The ToolboxElementBase object serves as a base class for the ToolboxItem and ToolboxGroup objects that represent the ToolboxControl items and groups of items, respectively.
The ToolboxElementBase.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.
The ToolboxElementBase.Appearance property provides access to the appearance settings used to paint the current ToolboxControl element in different states (normal, hovered, pressed and disabled). For the current element, these settings override the global appearance settings accessible using the ToolboxControl.Appearance property.