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

TdxCustomDockControl.CanDockHost(TdxCustomDockControl,TdxDockingType) Method

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

#Declaration

Delphi
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