dotnetmonitor.com

 
Index
Previous
Next

 

Problem: The font controls the auto-scaling mechanism for the form. Setting this after the form has finished laying out will cause it to perform an expensive layout all over again, changing the size/location of child controls.

 

Solution: If it knows this data before the final resume layout of initialize component, it will have all the data it needs to perform the layout efficiently, ONCE.

Terms
Docking Anchor Layout
What happens when I have Dock and Anchors that conflict?
Dock Scenarios
Padding Margin
You have a perf problem with Layout - how to diagnose?