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)
4920Assert.Null(control.GetNodeAt(pt.X, pt.Y)); 4924Assert.Null(control.GetNodeAt(pt.X, pt.Y)); 4935Assert.Same(node1, control.GetNodeAt(pt.X, pt.Y)); 4939Assert.Same(node1, control.GetNodeAt(pt.X, pt.Y)); 4950Assert.Null(control.GetNodeAt(pt.X, pt.Y)); 4954Assert.Null(control.GetNodeAt(pt.X, pt.Y)); 4971Assert.Null(control.GetNodeAt(pt.X, pt.Y)); 4978Assert.Null(control.GetNodeAt(pt.X, pt.Y)); 5000Assert.Same(node1, control.GetNodeAt(pt.X, pt.Y)); 5007Assert.Same(node1, control.GetNodeAt(pt.X, pt.Y)); 5029Assert.Null(control.GetNodeAt(pt.X, pt.Y)); 5036Assert.Null(control.GetNodeAt(pt.X, pt.Y));