这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@bdachev
Copy link
Contributor

@bdachev bdachev commented Aug 24, 2020

With certain layouts (produced by our software) undocking an anchorable leads to following:

System.ArgumentOutOfRangeException
HResult=0x80131502
Message=Specified argument was out of the range of valid values.
Parameter name: index
Source=PresentationCore
StackTrace:
at System.Windows.Media.VisualCollection.get_Item(Int32 index)
at System.Windows.Controls.UIElementCollection.get_Item(Int32 index)
at AvalonDock.Controls.LayoutGridControl`1.UpdateRowColDefinitions() in C:\SOURCE\Tests\AvalonDock\Dirkster99\source\Components\AvalonDock\Controls\LayoutGridControl.cs:line 255

This exception was originally thrown at this call stack:
[External Code]
AvalonDock.Controls.LayoutGridControl.UpdateRowColDefinitions() in LayoutGridControl.cs

@Dirkster99 Dirkster99 merged commit 30c51a9 into Dirkster99:master Aug 24, 2020
@bdachev bdachev deleted the UpdateRowColDefinitions_crash branch August 25, 2020 08:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants