0

Oxyplot crashes in Avalondock

Piper 8 lat temu 0

Hello,

I´m using oxyplot for quite a while in an avalondock environment. When I try to move a plot, my programs throws a System.InvalidOperationException (Must disconnect specified child from current parent Visual before attaching to new parent Visual).

It happens in the PlotBase.cs, line 448, method

private bool IsUserVisible(FrameworkElement element, FrameworkElement container)

which was called from PlotBase.cs, line 425, method

protected bool IsVisibleToUser()

The container is System.Windows.Controls.ScrollViewer.


Thanks in advance,

Markus