'Declaration
Public Overrides Function GetPreferredSize( _ ByVal proposedSize As Size _ ) As Size
'Usage
Dim instance As GcTextBox Dim proposedSize As Size Dim value As Size value = instance.GetPreferredSize(proposedSize)
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 objects that represents the width and height of a rectangle.