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

Create(TdxCustomDockControl,Integer,TdxZoneKind) Constructor

Creates a new zone.

#Declaration

Delphi
constructor Create(AOwner: TdxCustomDockControl; AWidth: Integer; AKind: TdxZoneKind);

#Parameters

Name Type
AOwner TdxCustomDockControl
AWidth Integer
AKind TdxZoneKind

#Remarks

The Create method is used to create a new zone object. The AOwner parameter specifies the zone’s owner control. This is the control whose DockZones or ResizeZones list will contain the zone. The AWidth parameter specifies the zone width. This value is assigned to the Width property of the zone. Note that if zero or a negative value is specified as the AWidth parameter, the zone’s Width property will return the dxDockZonesWidth constant value.

Use the constructor to create zones at runtime. This can be used if you add custom zones to either the DockZones or ResizeZones list of a dock control.

See Also