Lex Li
Lex Li
You are trying to convert tool windows panes (Console and Properites) to document panes, https://docs.dockpanelsuite.com/themes/basics.html#visual-elements-of-a-theme Then in code, just change the dock contents to show as documents, https://docs.dockpanelsuite.com/tutorials/basics.html
Mostly the invalidation event or paint event does not fire/handle properly. But unless debug further the root cause is not clear. Note that Microsoft keeps patching .NET Framework/WinForms, so not...
Currently I don't have the hardware to reproduce the issue (I only have a Windows VM). So it would require some community resources to work on it. I will dig...
Pull requests are welcome.
What happens if you change `ctrl.Visible = true;` to `ctrl.Visible = false;`? By setting that property to true, you explicitly trigger the window to be displayed before being docked.
You might share a complete sample somewhere so that others can investigate what's wrong.
Can you check existing threads? https://github.com/dockpanelsuite/dockpanelsuite/issues?utf8=%E2%9C%93&q=is%3Aissue+size+
What's the version of DockPanel Suite you use?
You should set `DockPanel.ShowDocumentIcon` to `false`.
You should set `Icon` property of your `DockContent` to null, or switch to a theme that does not render icons there.