Retrieves the size of a rectangular area into which a control can be fitted.
public virtual Size GetPreferredSize(
Size
)
'宣言
Public Overridable Function GetPreferredSize( _
ByVal As Size _
) As Size
パラメータ
- proposedSize
- The custom-sized area for a control.
戻り値の型
An ordered pair of type
System.Drawing.Size representing the width and height of a rectangle.