I am using a float dockpane/split container inside a dockingpanel to float/dock windows. Im not sure if you people are aware, but when dragging a dock window, i am able to 'throw' it off the screen. I can reproduce this behaviour in your http://demos.telerik.com/silverlight/#Docking/FirstLook
To recover for from this state i am looking at the ability to manipulate, get/set the floating location of the docking window because as it stands, the once you throw the window off, thats it! Its gone forever!
My code as it stands looks like:
RadSplitContainer rsp = pan.ParentOfType<RadSplitContainer >();
Point cl = RadDOcking.GetFloatingLocation(rsp); //trying to find th current location of the window???
RadDocking.SetFloatingLocation(rsp, new Point(20,20)); //trying to set the location..
Now the documentation regarding these methods are quite thin, im not even sure if i am using them correctly. cl does not reflect the 'current' floating location, rather the one specified in the xaml. When set'ing, the window does not move. Do i need to repaint? update something? Re-add?
If this is not possible, im happy to dock the panel to a default location to 'recover' the window form the abyss. Could i get som example code for this? my code that uses RadDocking.SetDock() does not work either....