- x
- The System.Drawing.Point.X position to evaluate and retrieve the node from.
- y
- The System.Drawing.Point.Y position to evaluate and retrieve the node from.
The System.Windows.Forms.TreeNode at the specified location, in tree view (client) coordinates, or null if there is no node at that location.
You can pass the MouseEventArgs.X and MouseEventArgs.Y coordinates of the Control.MouseDown event as the x and y parameters.