Padding Constructor (Int32)

 
System_CAPS_noteNote

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

Initializes a new instance of the Padding class using the supplied padding size for all edges.

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

public Padding(
	int all
)

Parameters

all
Type: System.Int32

The number of pixels to be used for padding for all edges.

This constructor sets the Right, Left, Bottom, Top and All properties to the value of the all parameter.

.NET Framework
Available since 2.0
Return to top
Show: