I see this problem regularly in Water:
Breite und Höhe dürfen keine negative Zahl sein.
bei System.Windows.Size…ctor(Double width, Double height)
bei System.Windows.Controls.VirtualizingStackPanel.SyncUniformSizeFlags(Object parentItem, IContainItemStorage parentItemStorageProvider, IList children, IList items, IContainItemStorage itemStorageProvider, Int32 itemCount, Boolean computedAreContainersUniformlySized, Double computedUniformOrAverageContainerSize, Double computedUniformOrAverageContainerPixelSize, Boolean& areContainersUniformlySized, Double& uniformOrAverageContainerSize, Double& uniformOrAverageContainerPixelSize, Boolean& hasAverageContainerSizeChanged, Boolean isHorizontal, Boolean evaluateAreContainersUniformlySized)
bei System.Windows.Controls.VirtualizingStackPanel.MeasureOverrideImpl(Size constraint, Nullable1& lastPageSafeOffset, List
1& previouslyMeasuredOffsets, Nullable`1& lastPagePixelSize, Boolean remeasure)
bei System.Windows.Controls.VirtualizingStackPanel.MeasureOverride(Size constraint)
bei System.Windows.FrameworkElement.MeasureCore(Size availableSize)
bei System.Windows.UIElement.Measure(Size availableSize)
bei System.Windows.ContextLayoutManager.UpdateLayout()
bei System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)
bei System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
bei System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
bei System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
bei System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)