[DevExpress Support Team: CLONED FROM T615730: PictureEdit - An image is flickering when DirectX is enabled]
Hello,
I'm having this issue with the AccordionControl created by the FluentDesignForm. The control flickers when moving the mouse above it when UserDirectXPaint is set to DefaultBoolean.True.
Even though I specified to use DirectX in the DevExpress Project Settings page, the DefaultBoolean.Default value does not make it flicker. I conclude from that that it must be using GDI+ but I'm not sure of it.
I'm testing on Windows 10 with version 18.1.3 and dxdiag tells me that dx11 is supported.
Should I make a separate ticket for this ?
Redards,
Grégory
Hello Grégory,
Thank you for reaching out to us. Before we proceed, would you please check whether DirectX Hardware Acceleration is enabled for AccordionControl. For this, put a breakpoint into a form's Shown event and then check the value of the yourAccordionControl.DirectXProvider.Enabled property. I recorded a video to illustrate this. I would also recommend upgrading your project to 18.1.4 to see whether the issue is reproducible with that version. I look forward to hearing from you.
Well it seems like the DirectXProvider property didn't yet exist in 18.1.3. I'm gonna have to update to test it I suppose. I'll come back to you whenever I do so.
Hello Grégory,
All controls that support DirectX Hardware Acceleration have this property. I would like to note, however, that this is a protected property, and it is necessary to check its value as I illustrated in the video. In any case, upgrading your project may be helpful since we fixed a couple of issues related to Fluent Design Form in that version. I look forward to your results.
Ok thanks I should have checked the video. I already started updating so I'll wait for it to complete and then have a look.
By the way (and I'll probably need a different ticket for this unless the answer is simply "no") is it possible to make a DirectX-painted user control? If I understood correctly in some circumstances you can get a special graphics object though a GraphicsCache property but it is not available in the PaintEventArgs of a new XtraUserControl.
And yes, I confirm that the property is True. But since I updated to 18.1.4 it no longer flickers. Is there a list of the controls that support DirectX somewhere eventually?
Thanks for your help anyway.
Thank you for informing me that the issue is now resolved, Grégory. As for your question regarding the list of DevExpress DirectX-accelerated controls and DirectX-painted user controls, I created separate tickets on your behalf:
Is it possible to create a DirectX-painted user control?
Where to find the complete list of DevExpress controls that support DirectX Hardware Acceleration?
I will address them shortly.