Skip to main content

GetcxContainer(TWinControl) Method

Obtains the container control for a particular control.

Declaration

function GetcxContainer(AControl: TWinControl): TcxContainer;

Parameters

Name Type
AControl TWinControl

Returns

Type
TcxContainer

Remarks

The GetcxContainer method obtains the container control of the TcxContainer type for the control specified by the AControl parameter. This function performs the appropriate cast for the TcxContainer descendant. If an object implements the IcxContainerInnerControl interface the function retrieves the container control via the IcxContainerInnerControl.ControlContainer property.

See Also