Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
340
Exception when movig and resizing panes
posted

Hello

In our project we use Infragistics2.Win.UltraWinDock.v6.1 and sometimes we have an exception, when moving or resizing panes:

 

************** Text **************
System.NotSupportedException: A pane's docked state cannot be determined until it has been associated with a DockAreaPane
   в Infragistics.Win.UltraWinDock.DockablePaneBase.get_DockedState()
   в Infragistics.Win.UltraWinDock.PaneSettingsResolved.ResolveCaptionAppearance(AppearanceData& appearance, AppearancePropFlags& requestedProps, Boolean isActive, Boolean isHot)
   в Infragistics.Win.UltraWinDock.DockablePaneBase.PaneMetrics.UpdateCaptionSizeInfo()
   в Infragistics.Win.UltraWinDock.DockablePaneBase.PaneMetrics.UpdateSizeInformation()
   в Infragistics.Win.UltraWinDock.DockablePaneBase.PaneMetrics.get_CaptionSize()
   в Infragistics.Win.UltraWinDock.PaneUIElement.PositionPaneElements(Rectangle workRect, DockablePaneBase pane, UIElementsCollection oldElements)
   в Infragistics.Win.UltraWinDock.PaneUIElement.PositionChildElements()
   в Infragistics.Win.UIElement.VerifyChildElements(ControlUIElementBase controlElement, Boolean recursive)
   в Infragistics.Win.UIElement.VerifyChildElements(ControlUIElementBase controlElement, Boolean recursive)
   в Infragistics.Win.UIElement.VerifyChildElements(Boolean recursive)
   в Infragistics.Win.UltraWinDock.UltraDockManager.VerifyPaneControlElements(Control control)
   в Infragistics.Win.UltraWinDock.UltraDockManager.VerifyPaneControlElements(Control control)
   в Infragistics.Win.UltraWinDock.AutoHideSplitterUIElement.ApplyAdjustment(Point delta)
   в Infragistics.Win.AdjustableUIElement.OnMouseUp(MouseEventArgs e)
   в Infragistics.Win.ControlUIElementBase.ProcessMouseUpHelper(Object sender, MouseEventArgs e)
   в Infragistics.Win.ControlUIElementBase.ProcessMouseUp(Object sender, MouseEventArgs e)
   в System.Windows.Forms.Control.OnMouseUp(MouseEventArgs e)
   в Infragistics.Win.UltraWinDock.DockControlBase.OnMouseUp(MouseEventArgs e)
   в System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   в System.Windows.Forms.Control.WndProc(Message& m)
   в System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   в System.Windows.Forms.ContainerControl.WndProc(Message& m)
   в System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   в System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   в System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

 

From system event log:

EventType clr20r3, P1 netclient.exe, P2 1.0.0.6, P3 4b0bb70c, P4 mscorlib, P5 2.0.0.0, P6 4a7cd8f7, P7 170c, P8 22, P9 system.invalidoperationexception, P10 NIL.