Skip to main content
A newer version of this page is available. .

TcxContainer Class

Represents a class that clips child windowed controls within a specified region.

Declaration

TcxContainer = class(
    TcxControl,
    IInterface,
    IcxCompoundControl,
    IcxMouseTrackingCaller
)

Remarks

This class is the base class for TcxCustomEdit which provide the base functionality for ExpressEditors. The TcxContainer class implements the clipping of a windowed control. When placing child windowed controls onto the client region of a TcxContainer, only the region defined by the client rectangle is painted. The TcxContainer class introduces the style attributes (see the Style, StyleDisabled, StyleFocused and StyleHot properties) which control the appearance of the container control in various states such as normal, disabled, focused and hot-tracked (highlighted), respectively. The TcxContainer class provides the RestoreStyles method to restore the default style attributes’ values for a container control.

Note

A custom editor has to implement the IcxContainerInnerControl interface in order to provide a link to the container control associated with it (see the GetcxContainer function).

See Also