Control::DefaultMargin Property


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

Gets the space, in pixels, that is specified by default between controls.

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

property Padding DefaultMargin {
	virtual Padding get();

Property Value

Type: System.Windows.Forms::Padding

A Padding that represents the default space between controls.

.NET Framework
Available since 2.0
Return to top