I had a XtraUserControl with two DockPanels in an AutoHideContainer docked on the right.
I deleted one of them and now I get design-time and runtime exceptions. Here is the runtime exception.
13/11/15 12:21:23.004 [*] (S) TIPSApp.HandleUnexpectedGUIThreadException
(N) TIPSApp.IsHandled : false
(N) WinFormsApp.IsHandled : false
(N) Exception : System.NullReferenceException: Object reference not set to an instance of an object.
at DevExpress.XtraBars.Docking.AutoHideContainer.get_IsHorizontal()
at DevExpress.XtraBars.Docking.AutoHideContainerViewInfo.Calc(Graphics g, Rectangle bounds)
at DevExpress.XtraBars.Docking.AutoHideContainer.OnPaint(PaintEventArgs e)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at DevExpress.XtraBars.Docking.ZIndexControl.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
13/11/15 12:21:29.335 [*] (E) TIPSApp.HandleUnexpectedGUIThreadException (result: "User cancelled shutdown")
I have tried it different ways - pressing Del; deleting from Document Outline; deleting from DockManager Customize & Designer. Same result.
Attached is a zip file with working/broken files so you can diff them if that helps.
Hi,
We have successfully reproduced the behavior you described and passed this ticket to our developers' team for further research. Please bear with us. We will notify you as soon as we make any progress.