Padding.Size Property


Gets the padding information in the form of a Size.

 property System::Drawing::Size Size { System::Drawing::Size get(); };
public System.Drawing.Size Size { get; }
member this.Size : System.Drawing.Size
Public ReadOnly Property Size As Size

Property Value

A Size containing the padding information.



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

Size is convenient for use in many layout calculations.

Applies to

See also