This project has moved and is read-only. For the latest updates, please go here.

Native wpf control

Oct 14, 2012 at 3:02 AM
Are there any plans to port this to a native wpf control? I see u have an example using a winformhost adapter....but is possible this can be a native wpf control?
Oct 15, 2012 at 10:45 AM

When the project started back in 2006, we made performance tests with WPF controls but it turned out that WPF was way too slow to display several thousand shapes. As the focus of the project is on industrial applications and scalability, we decided to use WinForms and GDI+.
There were performance improvements for the WPF rendering layer with framework 4.0 and the service packs for framework 3.0 + 3.5, but with the release of Windows 8 and WinRT, the future of WPF is more or less questionable, so there are no plans for native WPF controls at the moment.

But due to the Controller-Presenter architecture, you can implement native WPF controls easily.
The only problematic control is the diagram presenter (Display) all rendering is based on GDI+ at the moment and replacing the display component with a native WPF control would require to reimplement all the rendering stuff.
If you don't need to display a lot of shapes, it's possible but a lot of work.