Hello,
I have a WPF project where I am using RadDocking with 3 RadPaneGroups. I get an Index out of range error when I pin and then try to unpin a pane or if I try to pin a second item. I am able to set the pane to floatable/dockable and manipulate them that way, but when I try to unpin I get the error. I'd like to note we are targeting framework .Net Core 3.1.
Error Message:
System.ArgumentOutOfRangeException: 'Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')'
This exception was originally thrown at this call stack:
System.ThrowHelper.ThrowArgumentOutOfRange_IndexException()
Telerik.Windows.Controls.RadTabControl.RaiseIsSelectedChangedAutomationEvent(System.Windows.DependencyObject, bool)
Telerik.Windows.Controls.RadTabItem.OnIsSelectedChanged(bool, bool)
Telerik.Windows.Controls.RadTabItem.OnIsSelectedPropertyChanged(System.Windows.DependencyObject, System.Windows.DependencyPropertyChangedEventArgs)
System.Windows.DependencyObject.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs)
System.Windows.FrameworkElement.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs)
System.Windows.DependencyObject.NotifyPropertyChange(System.Windows.DependencyPropertyChangedEventArgs)
System.Windows.DependencyObject.UpdateEffectiveValue(System.Windows.EntryIndex, System.Windows.DependencyProperty, System.Windows.PropertyMetadata, System.Windows.EffectiveValueEntry, ref System.Windows.EffectiveValueEntry, bool, bool, System.Windows.OperationType)
System.Windows.DependencyObject.SetValueCommon(System.Windows.DependencyProperty, object, System.Windows.PropertyMetadata, bool, bool, System.Windows.OperationType, bool)
...
[Call Stack Truncated]
Here is my XAML:
01.<telerik:RadDocking Grid.Row="3" BorderThickness="0" HasDocumentHost="False" RetainPaneSizeMode="DockingAndFloating" CanAutoHideAreaExceedScreen="True">02. <telerik:RadSplitContainer Orientation="Horizontal">03. <!--My Queries-->04. <telerik:RadPaneGroup>05. <telerik:RadPane Header="My Queries" CanUserClose="True" >06. <StackPanel>07. <Border>08. <StackPanel>09. <TextBlock Text="Query Results" />10. </StackPanel>11. </Border>12. </StackPanel>13. </telerik:RadPane>14. </telerik:RadPaneGroup>15. 16. <!--Summary-->17. <telerik:RadPaneGroup>18. <telerik:RadPane Header="Summary" CanUserClose="True" >19. <StackPanel Margin="3">20. <TextBlock Text="View Summary" />21. </StackPanel>22. </telerik:RadPane>23. </telerik:RadPaneGroup>24. 25. <!--Torge Charts-->26. <telerik:RadPaneGroup>27. <telerik:RadPane Header="Torque Charts" CanUserClose="True" >28. <StackPanel Margin="3">29. <TextBlock Text="View Torque Charts" />30. </StackPanel>31. </telerik:RadPane>32. </telerik:RadPaneGroup>33. 34. </telerik:RadSplitContainer>35. </telerik:RadDocking>
