StatusStrip.DefaultPadding Property


Gets the spacing, in pixels, between the left, right, top, and bottom edges of the StatusStrip from the edges of the form.

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

protected override Padding DefaultPadding { get; }

Property Value

Type: System.Windows.Forms.Padding

A Padding that represents the spacing. The default is {Left=6, Top=2, Right=0, Bottom=2}.

Use the DefaultPadding property to set the interior space between controls. When a control is a container of items, padding represents the space from the edge of the container.

.NET Framework
Available since 2.0
Return to top