13 references to GetNodeAt
System.Windows.Forms (1)
System\Windows\Forms\Controls\TreeView\TreeView.cs (1)
1673public TreeNode? GetNodeAt(Point pt) => GetNodeAt(pt.X, pt.Y);
System.Windows.Forms.Tests (12)
System\Windows\Forms\TreeViewTests.cs (12)
4922Assert.Null(control.GetNodeAt(pt.X, pt.Y)); 4926Assert.Null(control.GetNodeAt(pt.X, pt.Y)); 4937Assert.Same(node1, control.GetNodeAt(pt.X, pt.Y)); 4941Assert.Same(node1, control.GetNodeAt(pt.X, pt.Y)); 4952Assert.Null(control.GetNodeAt(pt.X, pt.Y)); 4956Assert.Null(control.GetNodeAt(pt.X, pt.Y)); 4973Assert.Null(control.GetNodeAt(pt.X, pt.Y)); 4980Assert.Null(control.GetNodeAt(pt.X, pt.Y)); 5002Assert.Same(node1, control.GetNodeAt(pt.X, pt.Y)); 5009Assert.Same(node1, control.GetNodeAt(pt.X, pt.Y)); 5031Assert.Null(control.GetNodeAt(pt.X, pt.Y)); 5038Assert.Null(control.GetNodeAt(pt.X, pt.Y));