Skip to main content

EditorContainer Class

Serves as the base for container controls that manage editor repositories providing inplace editors for their visual elements and support for a common tooltip control mechanism.

Namespace: DevExpress.XtraEditors.Container

Assembly: DevExpress.XtraEditors.v24.2.dll

Declaration

public abstract class EditorContainer :
    Control,
    ISupportInitialize,
    IEditorContainer,
    IMouseWheelSupport,
    IDirectXClient,
    ISupportLookAndFeel,
    IEditorContainerDesignerMethods

Remarks

The EditorContainer class implements basic functionality of all container controls developed by DevExpress. This common functionality implies managing editor repositories that will supply inplace editors for visual elements and supporting a common mechanism for controlling the appearance and behavior of hints that can be displayed for visual elements.

Editor repositories that provide inplace editors are managed by the EditorContainer.RepositoryItems and EditorContainer.ExternalRepository properties. These properties allow you to customize the internal repository or assign a PersistentRepository component containing repository items. Repository items residing within the internal repository can be used by the control only. On the other hand, external repositories can be assigned to any number of components or controls, thus providing inplace editors with the same settings to multiple controls.

The EditorContainer.ToolTipController property allows you to assign a ToolTipController component that will manage the appearance and behavior of all hints displayed for the control’s visual elements.

Note that container components developed by DevExpress also support the same features. Thus, you can provide common management over all DevExpress components and controls in your application. Container components are derived from the ComponentEditorContainer class rather than EditorContainer.

Note that you can also manage a common look and feel for controls and components. Refer to the DefaultLookAndFeel component description for details.

See Also