Form::Margin Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets or sets the space between controls.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

property Padding Margin {
	Padding get();
	void set(Padding value);

Property Value

Type: System.Windows.Forms::Padding

A value that represents the space between controls.

.NET Framework
Available since 2.0
Return to top