Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

GetcxContainer(TWinControl) Method

Obtains the container control for a particular control.

#Declaration

Delphi
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