System.Windows.Forms.Padding.All Property

Gets or sets the padding value for all the edges.

Syntax

[System.ComponentModel.RefreshProperties(System.ComponentModel.RefreshProperties.All)]
public int All { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

When retrieving this property, if all the edges use the same padding value, then this common value is returned. Otherwise, -1 is returned to indicate that all the padding values are not equal.

Setting this value changes the Padding.Right, Padding.Left, Padding.Bottom, and Padding.Top properties.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0