Skip to main content

TdxDockingManager.OnCreateSideContainer Event

This 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 containers created. However, note that if you only need to change the default property values for side containers, you should use the DefaultHorizContainerSiteProperties and DefaultVertContainerSiteProperties properties instead.

See Also