Padding.Top Property


Gets or sets the padding value for the top edge.

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

public int Top { get; set; }

Property Value

Type: System.Int32

The padding, in pixels, for the top edge.

Setting this value can also alter the All property.

.NET Framework
Available since 2.0
Return to top