[]
Retrieves the size of a rectangular area into which a control can be fitted.
public override Size GetPreferredSize(Size proposedSize)
Type | Name | Description |
---|---|---|
Size | proposedSize | The custom-sized area for a control. |
Type | Description |
---|---|
Size | An ordered pair of type Size representing the width and height of a rectangle. |