ComponentEditorContainer Class

Serves as the base for components that provide visual elements at runtime, manage editor repositories providing inplace editors for their visual elements and support the common tooltip control mechanism.

Namespace: DevExpress.XtraEditors.Container

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

public abstract class ComponentEditorContainer :
    Component,
    ISupportInitialize,
    IEditorContainer
Public MustInherit Class ComponentEditorContainer
    Inherits Component
    Implements ISupportInitialize,
               IEditorContainer

Remarks

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

Editor repositories that provide inplace editors are managed by the ComponentEditorContainer.RepositoryItems and ComponentEditorContainer.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 only by the component. On the other hand, external repositories can be assigned to any number of components or controls, thus providing inplace editors with the same settings. Note that repositories are created for easy editor management at design time.

The ComponentEditorContainer.ToolTipController property enables you to assign a ToolTipController component that will manage the appearance and behavior of all hints displayed for visual elements owned by the component.

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

Note that you can also apply common look and feel management to controls and visual elements owned by components. Refer to the DefaultLookAndFeel component description for details.

Inheritance

See Also