Back to Devexpress

TdxCustomDockControl.OnUpdateResizeZones Event

vcl-dxdockcontrol-dot-tdxcustomdockcontrol-9703688e.md

latest1.9 KB
Original Source

TdxCustomDockControl.OnUpdateResizeZones Event

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

See Also

TdxZone

TdxCustomDockControl.OnUpdateDockZones

TdxCustomDockControl.ResizeZones

Resize Zones

Zones Overview

TdxCustomDockControl Class

TdxCustomDockControl Members

dxDockControl Unit