'Declaration
Public Overridable Function GetPreferredSize( _ ByVal proposedSize As Size _ ) As Size
'Usage
Dim instance As FieldsEditorControl Dim proposedSize As Size Dim value As Size value = instance.GetPreferredSize(proposedSize)
public virtual Size GetPreferredSize( Size proposedSize )
Parameters
- proposedSize
- The custom-sized area for a control.
Return Value
An ordered pair of type System.Drawing.Size objects that represent the width and height of a rectangle.