dotnetmonitor.com

 
Index
Previous
Next

 

Padding is the internal space you can add to your control/item

Margin is the external space you can add to separate controls/items.

Depending on the implementation of GetPreferredSize for a control, changing the Padding property can inflate the control by the height and width specified in the Padding property.

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