Skip to main content

TdxCustomDockControl.OnCreateSideContainer Event

Fires in response to side container creation.

Declaration

property OnCreateSideContainer: TdxCreateSideContainerEvent read; write;

Remarks

When a dock control is docked to an edge of another control, a side container is created. The OnCreateSideContainer event fires immediately after this has been done. The Sender parameter of the event identifies the control to which another one has been docked. The ASideContainer parameter identifies the side container created. You can use the Children property of the object represented by this parameter to access all dock controls comprising the side container.

Handle the OnCreateSideContainer event if you need to perform particular initialization of the side container created. Note that the event fires only if another dock control has been docked to it. If the current control is docked to another one, the target control’s OnCreateSideContainer event is raised.

See Also