'Declaration
Public Overrides Function GetPreferredSize( _ ByVal proposedSize As Size _ ) As Size
public override Size GetPreferredSize( Size proposedSize )
Parameters
- proposedSize
- The custom-sized area for a control.
Return Value
An ordered pair of type System.Drawing.Size representing the width and height of a rectangle.