SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and iOS Chart & Android Chart Components

0
0

Hi,

I have a usercontrol which has SCI chart controls. This usercontrol is added and removed from a parent Window based on few business logic.
While adding the control i get the following error.

Error: Element already has a logical parent. It must be detached from the old parent before it is attached to a new one.

In one of the forum it was mentioned that this was a known issue and was rectified. Please let me know on a workaround to overcome this issue.

Thanks,
Deepak

Version
5.4.0.12119
  • You must to post comments
1
0

Hi Deepak,

Thanks for your inquiry.
This is a known WPF issue – any WPF UI element can have only one logical parent. Unfortunately, we cannot help you more without having more information. This issue may happen with any of UI controls on a dynamic UI.

Please try to reproduce it in a simple stand-alone sample and send it to us. We will gladly investigate and help with it.

With best regards,
Oleksandr

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.