ToolStrip::GetItemAt Method (Int32, Int32)
.NET Framework (current version)
Returns the item located at the specified x- and y-coordinates of the ToolStrip client area.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Parameters
- x
-
Type:
System::Int32
The horizontal coordinate, in pixels, from the left edge of the client area.
- y
-
Type:
System::Int32
The vertical coordinate, in pixels, from the top edge of the client area.
Return Value
Type: System.Windows.Forms::ToolStripItem^The ToolStripItem located at the specified location, or null if the ToolStripItem is not found.
.NET Framework
Available since 2.0
Available since 2.0
Show: