void xtraTabbedMdiManager1_FloatMDIChildDragging(object sender, FloatMDIChildDraggingEventArgs e) { /* * To allow an XtraTabbedMdiManager to accept a dragged panel, * the manager needs to be added to the e.Targets collection. */ }
void xtraTabbedMdiManager1_FloatMDIChildDragging(object sender, FloatMDIChildDraggingEventArgs e) { /* * To allow an XtraTabbedMdiManager to accept a dragged panel, * the manager needs to be added to the e.Targets collection. */ IEnumerable <XtraTabbedMdiManager> dropTargets = ((StartForm)Owner).GetManagers(); foreach (XtraTabbedMdiManager manager in dropTargets) { e.Targets.Add(manager); } }