GroupBox::DefaultPadding Property


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

Gets the Padding structure that contains the default padding settings for a GroupBox control.

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

property Padding DefaultPadding {
	virtual Padding get() override;

Property Value

Type: System.Windows.Forms::Padding

A Padding with all its edges set to three pixels.

The default padding indicates the padding on each side of the control is three pixels.

.NET Framework
Available since 2.0
Return to top