Cosmetic issue...I hope you have a fix.
When I have a DockPanel whose DockState is TabbedDocument, then I do a SetDock(), the DockState gets lost and it just opens as another dockPanel. If I set the DockState afterwards like this...
...then I get a huge amount of flicker as the screen cuts in half to render it as docked first, then it redraws as a tabbed document. How can I get rid of that flicker? I've tried Hiding and setting Visible to false until all the above code is finished but it still happens. Thx...
When I have a DockPanel whose DockState is TabbedDocument, then I do a SetDock(), the DockState gets lost and it just opens as another dockPanel. If I set the DockState afterwards like this...
dockMGR.SetDock(dpSearch, DockPosition.Fill); |
dpSearch.DockState = DockState.TabbedDocument; |
...then I get a huge amount of flicker as the screen cuts in half to render it as docked first, then it redraws as a tabbed document. How can I get rid of that flicker? I've tried Hiding and setting Visible to false until all the above code is finished but it still happens. Thx...