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

TdxDockingManager.OnUpdateDockZones Event

In This Article

Enables you to provide custom dock zones for dock controls.

#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 also provide the docking functionality. You can modify the list of zones directly via this property, if needed. However, the list will be automatically recalculated each time the layout of dock controls changes. Thus, the OnUpdateDockZones event is provided so that you can modify the list as 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.

You can also specify custom dock zones for individual dock controls. Handle the OnUpdateDockZones event for this purpose.

See Also