Back to Devexpress

TdxCustomDockControl.OnCreateSideContainer Event

vcl-dxdockcontrol-dot-tdxcustomdockcontrol-510bca2b.md

latest2.1 KB
Original Source

TdxCustomDockControl.OnCreateSideContainer Event

Fires in response to side container creation.

Declaration

delphi
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

TdxCustomDockControl.OnCreateLayoutSite

TdxCustomDockControl.OnCreateTabContainer

TdxDockingManager.OnCreateFloatSite

TdxDockingManager.OnCreateLayoutSite

TdxDockingManager.OnCreateSideContainer

TdxDockingManager.OnCreateTabContainer

Side Container Sites

TdxCustomDockControl Class

TdxCustomDockControl Members

dxDockControl Unit