Since 2011.1 (11.1.20111.2054 ) this unhandled exception occurs for a left click or can be triggered with this code:
xamWebRibbon1.IsMinimized = true
I guess it is related to a tab/contexttab without a Name/Id set...
Stacktrace:
[ArgumentNull_Generic]Arguments: Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=4.0.60531.0&File=mscorlib.dll&Key=ArgumentNull_GenericParameter name: keyat System.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)at System.Collections.Generic.Dictionary`2.FindEntry(TKey key)at Infragistics.Controls.Menus.Primitives.RibbonTabControl.EnsureSelectedIndex()at Infragistics.Controls.Menus.Primitives.RibbonTabControl.SelectedTabChanged(DependencyObject obj, DependencyPropertyChangedEventArgs e)at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet)at Infragistics.Controls.Menus.Primitives.RibbonTabControl.InvalidateMinimizedState()at Infragistics.Controls.Menus.Primitives.RibbonTabControl.Ribbon_PropertyChanged(Object sender, PropertyChangedEventArgs e)at Infragistics.Controls.Menus.XamRibbon.OnPropertyChanged(String propName)at Infragistics.Controls.Menus.XamRibbon.IsMinimizedChanged(DependencyObject obj, DependencyPropertyChangedEventArgs e)at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet)at Infragistics.Controls.Menus.XamRibbonTabItem.OnMouseLeftButtonDown(MouseButtonEventArgs e)at System.Windows.Controls.Control.OnMouseLeftButtonDown(Control ctrl, EventArgs e)
Hello,
Thanks for the sample I was able to reproduce this behavior and I have logged it with development under ID: 84967 and I have also created a support ticket on your behalf: CAS-70753-XMPYDP and have linked the development issue to it, so that you can get automatically updated, when a Service Release containing the fix is available for download. You can get the new version from our website’s “My IG”, “My Keys & Downloads” tags: https://ko.infragistics.com/Membership/Default.aspx?panel=Downloads#Downloads
You can also monitor the support ticket’s progress through the “My Support Activity” tag: https://ko.infragistics.com/Membership/MySupport.aspx
See the attached project. And click the 'Crash me' button.
xamWebRibbon1.IsMinimized = true;
Only throws an exception if a contexttab is visible.
I have been looking into your issue and created a test sample with an empty XamRibbon using the latest version, however I got no error. Would you please try and elaborate your issue and the sample you are reproducing it in.
Looking forward to your reply.