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 Class

Represents a base class for ToolboxControl elements (groups and items).

Namespace: DevExpress.XtraToolbox

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public abstract class ToolboxElementBase :
    Component,
    ICloneable,
    IDXImageUriClient

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

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

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.

See Also