The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
When I call the method SetEnableDocking I see a annoying ficker of my control that appears during an instant before being disposed.
In older post I saw that you recommend to use the method LockHostFormUpdate() to avoid flicker but this as no effect when the window is floating.
Do you have other suggestions to avoid flickers? I also tried the LockDockPanelsUpdate but it come with others problems (application behing my application is draw over mine). thanks
I found a custom trick to avoid the flicker for now. I set the size of my control to 0 before calling the SetEnableDocking(myCtrl,false). It seems to be working...does someone have a better idea? Thank you
Jonathan
RBRajasekar B Syncfusion Team December 11, 2009 02:51 PM UTC
Hi Jonathan,
Flicker occurs when you disable the docking for any control because once the setEnableDocking(ctrl, false) is called the docking window is removed from the control. But the control still remains in the same position till you dispose it.
You can also set the region of the control to 0 before calling SetEnableDocking. Below is the sample code: