System.Windows.Forms.ToolStripItem.Bounds Property

Gets the size and location of the item.

Syntax

[System.ComponentModel.Browsable(false)]
public virtual System.Drawing.Rectangle Bounds { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use the ToolStripItem.Bounds property to determine the size and location of a System.Windows.Forms.ToolStripItem.

Unlike other controls, a System.Windows.Forms.ToolStripItem has no property that enables you to set the upper-left corner of a System.Windows.Forms.ToolStripItem relative to the upper-left corner of the System.Windows.Forms.ToolStrip. If you need to set the absolute position of a System.Windows.Forms.ToolStripItem, you must override the System.Windows.Forms.ToolStrip and define a custom implementation of the ToolStrip.SetItemLocation(ToolStripItem, System.Drawing.Point) method.

Requirements

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