System.Windows.Forms.ToolStripSeparator.GetPreferredSize Method

Retrieves the size of a rectangular area into which a System.Windows.Forms.ToolStripSeparator can be fitted.

Syntax

public override System.Drawing.Size GetPreferredSize (System.Drawing.Size constrainingSize)

Parameters

constrainingSize
A System.Drawing.Size representing the height and width of the System.Windows.Forms.ToolStripSeparator, in pixels.

Returns

A System.Drawing.Size representing the height and width of the System.Windows.Forms.ToolStripSeparator, in pixels.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0