internal void DoDragDrop() { if (DockManager.LayoutRootPanel.RootGroupPanel?.DropMode != DropMode.None) { DockManager.LayoutRootPanel.RootGroupPanel?.OnDrop(_dragItem); } else if (DragTarget?.DropMode != DropMode.None) { DragTarget?.OnDrop(_dragItem); } IsDragging = false; AfterDrag(); }