Padding Constructor (Int32)

 

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: