ToolStrip.GetItemAt Method (Point)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Returns the item located at the specified point in the client area of the ToolStrip.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public ToolStripItem GetItemAt(
	Point point
)

Parameters

point
Type: System.Drawing.Point

The System.Drawing.Point at which to search for the ToolStripItem.

Return Value

Type: System.Windows.Forms.ToolStripItem

The ToolStripItem at the specified location, or null if the ToolStripItem is not found.

.NET Framework
Available since 2.0
Return to top
Show: