Skip to main content

TdxDockingController.DockingDockControl Property

Returns the dock control currently being docked.

Declaration

property DockingDockControl: TdxCustomDockControl read;

Property Value

Type
TdxCustomDockControl

Remarks

Use this property to obtain the dock control being docked at the moment. This property returns nil if no docking operations are currently being performed. In this case, the IsDocking property returns False.

The DockingDockControl property can be used if you need to perform actions on the control being docked in response to some user action. For instance, you may need to respond to key presses. In this case, you need to check whether the IsDocking property returns True and if so, perform the desired actions on the control being docked.

If you need to perform actions as docking starts or finishes, handle the OnStartDocking and OnEndDocking events of dock controls.

See Also