[]
Retrieves the size of a rectangular area into which a System.Windows.Forms.ToolStripButton can be fitted.
public override Size GetPreferredSize(Size constrainingSize)
Public Overrides Function GetPreferredSize(constrainingSize As Size) As Size
Type | Name | Description |
---|---|---|
Size | constrainingSize | The specified area for a System.Windows.Forms.ToolStripButton. |
Type | Description |
---|---|
Size | An ordered pair of type System.Drawing.Size that represents the width and height of a rectangle. |