Hi,
is it supposed to be possible to drag & drop documents between two linked docking managers?
Dragging seems to work, but nothing happens on drop, unless I disable the DockState.Document flag. I have two windows, each with a docking manager set to TDI:
<syncfusion:DockingManager x:Name="SyncDockingManager" UseDocumentContainer="True" ContainerMode="TDI" />
…and with each other linked:
var c1 = new MainContainer();
c1.Show();
var c2 = new SecondaryContainer();
c2.Show();
var host = new TextBlock();
host.Text = "test1";
c1.SyncDockingManager.Children.Add(host);
host.SetValue(DockingManager.HeaderProperty, Guid.NewGuid());
host = new TextBlock();
host.Text = "test2";
c2.SyncDockingManager.Children.Add(host);
host.SetValue(DockingManager.HeaderProperty, Guid.NewGuid());
c1.SyncDockingManager.AddToTargetManagersList(c2.SyncDockingManager);
c2.SyncDockingManager.AddToTargetManagersList(c1.SyncDockingManager);
This works. However, as soon as I set the DockState to Document:
host.SetValue(DockingManager.StateProperty, DockState.Document);
, dragging no longer does anything. Is this a supported scenario? Is there a different way I can effectively drag documents between different windows?
Thanks,
Sören