Spread.NET 6 in WindowsFormsHost

Posted by: abeenck on 8 September 2017, 2:44 pm EST

  • Posted 8 September 2017, 2:44 pm EST

    Hello,

     we are planning to use Spread.NET 6 with .NET 4 and WPF. Because Spread is only for

    WindowsForms we want to use the WindowsFormsHost-Control to embed it in our WPF Application.

    Are there any known problems in doing that? A first short test results in a NullPointException when opening

    one of the modal dialogs, that can be used for changing the appearance of a chart during runtime.

    Regards

       Arne

  • Replied 8 September 2017, 2:44 pm EST

    Hello,

    I am not very sure how Spread would behave in a WPF application as it is meant for Windows Forms. But I tried placing a Spread in a WPF application using  WindowsFormsHost-Control, and it worked without any issues. I would request you to provide us with your sample, so that we can look into the issue further and if possible provide you with a solution. I am attaching the sample that I created, along with this this response, kindly have a look.

    Thanks,

    Manpreet Kaur.


    2011/09/SpreadWPF .zip
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels