or

private void listView_Result_ItemDrag(object sender, ItemDragEventArgs e) { lblDragID.Text = listView_Result.SelectedItems[0].Tag.ToString(); listView_Result.DoDragDrop(listView_Result.SelectedItems, DragDropEffects.Move); } private void TreeHome_DragDrop(object sender, DragEventArgs e) { try { string x = lblDragID.Text; Point p = System.Windows.Forms.Control.MousePosition; // Expand node if the mouse is over a one, and get the node id if the drop is finished (?) MessageBox.Show(lblDragID.Text); lblDragID.Text = "0"; } catch (Exception ex) { MessageBox.Show(ex.Message); } }
Hi,
After realising it was not possible to float Tabbed Documents, I have attempted to use Tool Windows which have a dock state of Tabbed Document. I can now right click on the header tab and select floating, however I cannot drag the window into a floating window as per normal Tool Windows. Is this supported behaviour? If not, is it possible to allow this using the DragDropService?