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.OnUpdateResizeZones Event

In This Article

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

#Declaration

Delphi
property OnUpdateResizeZones: TdxUpdateZonesEvent read; write;

#Remarks

Each dock control stores a list of resize zones in its ResizeZones property. These zones specify areas of the control where resizing can be initiated and implement resizing. If you need to provide custom resize zones for a control, you can modify its ResizeZones property value as required. However, the list of zones will be automatically repopulated each time the dock control’s layout is changed. Thus, the OnUpdateResizeZones event is provided. It fires each time the list of resize zones of a control is repopulated, thus allowing you to update it as needed.

The Sender parameter of the OnUpdateResizeZones event specifies the control whose resize zones list is being repopulated. The AZones parameter provides access to the list of zones (to the ResizeZones property). You can add your own zones or delete them as needed.

You can also provide custom resize zones for individual dock controls. Handle the OnUpdateResizeZones event for this purpose.

See Also