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

TdxCustomDockControl.OnUpdateDockZones Event

In This Article

Enables you to provide custom dock zones for the dock control.

#Declaration

Delphi
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.

See Also