Gets the size of a rectangular area into which the control can fit.
Syntax
'Declaration
Public ReadOnly Property PreferredSize As Size
public Size PreferredSize {get;}
Property Value
A
System.Drawing.Size containing the height and width, in pixels.
See Also