Back to Devexpress

ToolboxElementBase Class

windowsforms-devexpress-dot-xtratoolbox-43c09cd0.md

latest3.1 KB
Original Source

ToolboxElementBase Class

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

Namespace : DevExpress.XtraToolbox

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public abstract class ToolboxElementBase :
    Component,
    ICloneable,
    IDXImageUriClient
vb
Public MustInherit Class ToolboxElementBase
    Inherits Component
    Implements 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.

Inheritance

Object MarshalByRefObject Component ToolboxElementBase ToolboxGroup

ToolboxItem

See Also

ToolboxElementBase Members

DevExpress.XtraToolbox Namespace