As you know, WinForms relies on GDI+ to render application content. Since GDI+ doesn't support hardware acceleration (your graphics card power), it becomes slow when rendering large areas at once - it is especially noticeable when rendering large images or when working on large screens.
In version 17.2, we have implemented our own DirectX-based painting engine which supports hardware acceleration:
Major speed enhancements in WinForms grid (coming soon in v17.2)
In version 17.2, we implemented DirectX support in our GridControl only and are planning to extend this support in version 18.1. However, if you are ready to move your application to DirectX and don't want to wait for the official 18.1 release, you can try our new DirectX PictureEdit rendering engine in version 17.2. All you need to do is to download and install the latest build.
Take a look at this article to learn about changes you need to make in your application in order to move to the DirectX engine:
DirectX Hardware Acceleration
If you didn't heavily use the GDI+ Graphics object, it won't require many changes.
To enable Direct X for PictureEdit, just add the following line to your form's constructor:[C#]
pictureEdit1.UseDirectXPaint = DevExpress.Utils.DefaultBoolean.True;
That's it. Now, PictureEdit uses Direct X to render its image, instead of the default GDI engine.
Your feedback is greatly appreciated!
We would love to hear any feedback. If you like this feature, please let us know in comments below.
If you encounter any issue, feel free to create a separate ticket in our Support Center.
Looking forward to hearing from you!