xyzzer / WinRTXamlToolkit

WinRT XAML Toolkit
Other
283 stars 66 forks source link

Chart on Page causes ArgumentException when calling VisualTreeHelper.DisconnectChildrenRecursive #61

Open Slion opened 3 years ago

Slion commented 3 years ago

I have a Page that can change its content at runtime and was calling VisualTreeHelper.DisconnectChildrenRecursive(Content) but after adding a chart that method throws an ArgumentException.

However it seems I can still reload the Page content using Application.LoadComponent so maybe that disconnect thing is superfluous anyway.

Still somethings worth looking into I guess.