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
290
Null reference exception when trying mouse over tabs of Outlookstyle explorer bar
posted

EXCEPTION: 

   at Infragistics.Win.UltraWinExplorerBar.StyleUtils.GetResolutionOrder(UltraExplorerBar explorerBar)
   at Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroupSettingsResolved.get_HeaderButtonStyle()
   at Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroupHeaderUIElement.get_ButtonStyle()
   at Infragistics.Win.ButtonUIElementBase.get_IsButtonStyleMouseActive()
   at Infragistics.Win.ButtonUIElementBase.OnMouseLeave()
   at Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroupHeaderUIElement.OnMouseLeave()
   at Infragistics.Win.ControlUIElementBase.ElementEntered(UIElement element, Boolean triggerMouseLeavesOnly)
   at Infragistics.Win.ControlUIElementBase.SyncMouseEntered(Boolean triggerMouseLeavesOnly, UIElementInputType inputType, Boolean ignoreLastElementEntered)
   at Infragistics.Win.ControlUIElementBase.SyncMouseEntered(Boolean triggerMouseLeavesOnly, UIElementInputType inputType)
   at Infragistics.Win.ControlUIElementBase.SyncMouseEntered(Boolean triggerMouseLeavesOnly)
   at Infragistics.Win.ControlUIElementBase.SyncMouseEntered()
   at Infragistics.Win.ControlUIElementBase.VerifyIfElementsChanged(Boolean verify, Boolean syncMouseEntered)
   at Infragistics.Win.ControlUIElementBase.VerifyIfElementsChanged(Boolean verify)
   at Infragistics.Win.ControlUIElementBase.Draw(Graphics graphics, Rectangle invalidRectangle, Boolean doubleBuffer, AlphaBlendMode alphaBlendMode, Size elementSize)
   at Infragistics.Win.ControlUIElementBase.Draw(Graphics graphics, Rectangle invalidRectangle, Boolean doubleBuffer, AlphaBlendMode alphaBlendMode)
   at Infragistics.Win.UltraControlBase.OnPaint(PaintEventArgs pe)
   at Infragistics.Win.UltraWinExplorerBar.UltraExplorerBar.OnPaintHelper(PaintEventArgs pe)
   at Infragistics.Win.UltraWinExplorerBar.UltraExplorerBar.OnPaint(PaintEventArgs pe)
   at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
   at System.Windows.Forms.Control.WmPaint(Message& m)
   at System.Windows.Forms.Control.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.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   at System.Windows.Forms.SafeNativeMethods.UpdateWindow(HandleRef hWnd)
   at System.Windows.Forms.Control.Update()
   at Infragistics.Win.UIElement.Invalidate(Boolean update)
   at Infragistics.Win.UltraWinExplorerBar.UltraExplorerBar.AnimateGroupSelection(UltraExplorerBarGroup newSelectedGroup)
   at Infragistics.Win.UltraWinExplorerBar.UltraExplorerBar.set_SelectedGroup(UltraExplorerBarGroup value)
   at Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup.InternalEnsureGroupInView(Boolean explorerBarStyleOnly)
   at Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup.EnsureGroupInView()

When i mouse over the group tabs in the explorer bar i get a null reference exception. Please help me solve this.  


 

Parents
  • 10880
    posted

    I would assume that you are not doing anything in the MouseEnterElement event.  If so, the issue may be a bug or due to some custom theme. Could you answer the following questions?

    What version and build of our controls are you using, ie. 8.1.20081.1000?  Are you using custom themes on your machine?  If you are using custom themes, can you still reproduce the behavior if you go back to standard OS themes?

Reply Children