25 references to Handle
System.Windows.Forms (15)
System\Windows\Forms\Controls\TreeView\TreeNode.cs (8)
239{ *((IntPtr*)&rc.left) = Handle; } 262{ *((IntPtr*)&rc.left) = Handle; } 626{ *((IntPtr*)&rc.left) = Handle; } 706(LPARAM)node.Handle); 864(LPARAM)node.Handle); 1476PInvokeCore.SendMessage(tv, PInvoke.TVM_EXPAND, (WPARAM)(uint)NM_TREEVIEW_ACTION.TVE_COLLAPSE, (LPARAM)Handle); 1664PInvokeCore.SendMessage(tv, PInvoke.TVM_ENSUREVISIBLE, 0, Handle); 1682PInvokeCore.SendMessage(tv, PInvoke.TVM_EXPAND, (WPARAM)(uint)NM_TREEVIEW_ACTION.TVE_EXPAND, (LPARAM)Handle);
System\Windows\Forms\Controls\TreeView\TreeNodeCollection.cs (4)
54if (tv._nodesByHandle.ContainsKey(value.Handle) && value._index != index) 59if (tv._nodesByHandle.ContainsKey(value.Handle) 60&& value.Handle == actual.Handle
System\Windows\Forms\Controls\TreeView\TreeView.cs (3)
1118nint hnode = (value is null ? 0 : value.Handle); 1320nint hnode = (value is null ? 0 : value.Handle); 3116PInvokeCore.PostMessage(this, PInvoke.TVM_SELECTITEM, (WPARAM)PInvoke.TVGN_DROPHILITE, (LPARAM)treeNode.Handle);
System.Windows.Forms.Tests (10)
System\Windows\Forms\TreeNodeTests.cs (10)
894IntPtr handle = node.Handle; 896Assert.Equal(handle, node.Handle); 905IntPtr handle = node.Handle; 907Assert.Equal(handle, node.Handle); 953IntPtr handle = node.Handle; 955Assert.Equal(handle, node.Handle); 2345control.GetNextItemResult = node.Handle; 2738control.GetPreviousItemResult = node.Handle; 4682TreeNode result1 = TreeNode.FromHandle(treeView, node1.Handle); 4685TreeNode result2 = TreeNode.FromHandle(treeView, node2.Handle);