ToolStripItem.GetPreferredSize(Size) ToolStripItem.GetPreferredSize(Size) ToolStripItem.GetPreferredSize(Size) ToolStripItem.GetPreferredSize(Size) Method

Definición

Recupera el tamaño de un área rectangular en la que puede caber un control.Retrieves the size of a rectangular area into which a control can be fit.

public:
 virtual System::Drawing::Size GetPreferredSize(System::Drawing::Size constrainingSize);
public virtual System.Drawing.Size GetPreferredSize (System.Drawing.Size constrainingSize);
abstract member GetPreferredSize : System.Drawing.Size -> System.Drawing.Size
override this.GetPreferredSize : System.Drawing.Size -> System.Drawing.Size
Public Overridable Function GetPreferredSize (constrainingSize As Size) As Size

Parámetros

constrainingSize
Size Size Size Size

Área de tamaño personalizado de un control.The custom-sized area for a control.

Devoluciones

Un Size ordenada par, que representa el ancho y alto de un rectángulo.A Size ordered pair, representing the width and height of a rectangle.

Se aplica a