System.Windows.Forms.Padding.Size Property

Gets the padding information in the form of a System.Drawing.Size.

Syntax

[System.ComponentModel.Browsable(false)]
public System.Drawing.Size Size { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The Padding.Size property performs a type conversion from System.Windows.Forms.Padding to System.Drawing.Size. The Padding.Horizontal property corresponds to the System.Drawing.Size.Width property, and the Padding.Vertical property corresponds to the System.Drawing.Size.Height property.

Padding.Size is convenient for use in many layout calculations.

Requirements

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