typedef void __fastcall (__closure *TUnDockEvent)(System::TObject* Sender, TControl* Client, TWinControl* NewTarget, bool &Allow);
Sender is the object from which a control is being undocked.
Client is the control that is being undocked.
NewTarget is the control to which Client is being docked.
Allow is whether to allow the undocking.