Gets or sets the space between controls.
Public Property Margin As Padding
public Padding Margin { get; set; }
public: property Padding Margin { Padding get (); void set (Padding value); }
member Margin : Padding with get, set
Controls receive default values for Margin that are reasonably close to Windows user interface guidelines. Some adjustments might still be necessary for particular applications.
Setting the Margin property on a docked control has no effect on the distance of the control from the the edges of its container.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2