Compartilhar via


ActionsPane.GetPreferredSize(Size) Method

Definition

Retrieves the size of a rectangular area into which the actions pane can be fitted.

public:
 System::Drawing::Size GetPreferredSize(System::Drawing::Size proposedSize);
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)]
public System.Drawing.Size GetPreferredSize (System.Drawing.Size proposedSize);
[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)>]
abstract member GetPreferredSize : System.Drawing.Size -> System.Drawing.Size
Public Function GetPreferredSize (proposedSize As Size) As Size

Parameters

proposedSize
Size

The custom-sized area for the actions pane.

Returns

An ordered pair of type Size representing the width and height of a rectangle.

Attributes

Remarks

This method provides the same functionality as the System.Windows.Forms.Control.GetPreferredSize method. For more information about using this method, see System.Windows.Forms.Control.GetPreferredSize.

Applies to