Bewerken

Delen via


Padding.Size Property

Definition

Gets the padding information in the form of a Size.

public:
 property System::Drawing::Size Size { System::Drawing::Size get(); };
[System.ComponentModel.Browsable(false)]
public System.Drawing.Size Size { get; }
[<System.ComponentModel.Browsable(false)>]
member this.Size : System.Drawing.Size
Public ReadOnly Property Size As Size

Property Value

A Size containing the padding information.

Attributes

Remarks

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