Skip to main content

TdxCustomDockControl.CanDockHost(TdxCustomDockControl,TdxDockingType) Method

Returns a value indicating whether controls can be docked to the control in the manner specified.

Declaration

function CanDockHost(AControl: TdxCustomDockControl; AType: TdxDockingType): Boolean; virtual;

Parameters

Name Type
AControl TdxCustomDockControl
AType TdxDockingType

Returns

Type
Boolean

Remarks

The return value of the CanDockHost method indicates whether the specified control can be docked to the current control. The docked control is specified by the AControl parameter. The AType parameter specifies the manner in which the specified control is required to be docked.

The CanDockHost method is called internally when performing docking operations to check the operation’s validity. Normally, you will have no need to use this method in applications.

See Also