Quantcast
Channel: Extended WPF Toolkit™ Community Edition
Viewing all articles
Browse latest Browse all 4964

New Post: AvalonDock - Window disappears when dragging from tabbed document to floating

$
0
0
Anyone have any feed back on this problem im having. When dragging a document out of the docking pane the window disappears, after i release the mouse it comes back however if i try to drag it to another side to split the pane i get an error.

System.ArgumentException: Hwnd of zero is not valid.
at System.Windows.Interop.HwndSource.CriticalFromHwnd(IntPtr hwnd)
at System.Windows.Interop.HwndSource.FromHwnd(IntPtr hwnd)
at Microsoft.Windows.Shell.WindowChromeWorker.<_SetWindow>b__1(Object sender, EventArgs e)
at System.Windows.Window.OnSourceInitialized(EventArgs e)
at System.Windows.Window.CreateSourceWindow(Boolean duringShow)
at System.Windows.Window.CreateSourceWindowDuringShow()
at System.Windows.Window.SafeCreateWindowDuringShow()
at System.Windows.Window.ShowHelper(Object booleanBox)
at System.Windows.Window.Show()
at Xceed.Wpf.AvalonDock.DockingManager.<>c__DisplayClass1d.<StartDraggingFloatingWindowForContent>b__1c()
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

In the LayoutTemplate im just using a ContentPresenter and binding the Content to a variable on my model.

Thanks

Viewing all articles
Browse latest Browse all 4964

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>