System.Windows.Forms.ToolStripItem.DefaultSize Property

Gets the default size of the item.

Syntax

protected virtual System.Drawing.Size DefaultSize { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The ToolStrip.DefaultSize property represents the System.Drawing.Size of the System.Windows.Forms.ToolStripItem when it is initially created. If the ToolStripItem.AutoSize property is true, the System.Windows.Forms.ToolStripItem is sized automatically in accordance with the System.Windows.Forms.ToolStrip orientation. You can manually adjust the size of the System.Windows.Forms.ToolStripItem by setting its ToolStripItem.AutoSize property value to false.

Requirements

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