TdxCustomDockControl.OnUpdateDockZones Event
Enables you to provide custom dock zones for the dock control.
Declaration
property OnUpdateDockZones: TdxUpdateZonesEvent read; write;
Remarks
Each control holds a list of dock zones in its DockZones property. These zones specify where other controls can be docked and provide the docking functionality. You can modify the list of zones directly via the property, if needed. However, the list will be automatically recalculated each time the layout of dock controls changes. Thus, dock controls provide the OnUpdateDockZones event so that you can modify the list each time it is automatically repopulated.
The Sender parameter of the OnUpdateDockZones event specifies the control whose dock zones list has been repopulated. The AZones parameter provides access to the list of zones (to the DockZones property of the control). You can add your own or delete zones, if needed.