System.Windows.Forms.ToolStrip.GetItemAt Method

Returns the item located at the specified x- and y-coordinates of the System.Windows.Forms.ToolStrip client area.

Syntax

public ToolStripItem GetItemAt (int x, int y)

Parameters

x
The horizontal coordinate, in pixels, from the left edge of the client area.
y
The vertical coordinate, in pixels, from the top edge of the client area.

Returns

The System.Windows.Forms.ToolStripItem located at the specified location, or null if the System.Windows.Forms.ToolStripItem is not found.

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