Documentation for this section has not yet been entered.
For containers such as System.Windows.Forms.GroupBox and System.Windows.Forms.TabControl, the Control.Padding property gets or sets their respective Control.DisplayRectangle properties. The ScrollableControl.DockPadding property is equal to its Control.Padding property.
Controls receive default values for Control.Padding that are reasonably close to Windows user interface guidelines. Some adjustments might still be necessary for particular applications.
All controls that implement Control.GetPreferredSize(System.Drawing.Size) are enlarged by the amount in Control.Padding when Control.AutoSize is true.
The following controls do not use Control.Padding:
Controls that do not implement Control.AutoSize through Control.GetPreferredSize(System.Drawing.Size)
Custom controls that directly inherit from System.Windows.Forms.Control