How to avoid flickering while loading dock state?
9 Dec 2019 / 1 minute to read
Flickering can be avoided by calling the below methods.
- LockDockPanelsUpdate
- UnLockDockPanelsUpdate
The LockDockPanelsUpdate and UnLockDockPanelsUpdate methods are used to lock and unlock the panel’s repainting respectively. For example to avoid flickering while loading a dock state, these methods can be used in the following way.
//Avoids flickering while loading dock state
this.dockingManager1.LockHostFormUpdate();
this.dockingManager1.LoadDockState();
this.dockingManager1.UnlockHostFormUpdate();
'Avoids flickering while loading dock state
Me.dockingManager1.LockHostFormUpdate()
Me.dockingManager1.LoadDockState()
Me.dockingManager1.UnlockHostFormUpdate()
See Also
Was this page helpful?
Yes
No
Thank you for your feedback!
Thank you for your feedback and comments. We will rectify this as soon as possible!
An unknown error has occurred. Please try again.
Help us improve this page