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
);
1476
PInvokeCore.SendMessage(tv, PInvoke.TVM_EXPAND, (WPARAM)(uint)NM_TREEVIEW_ACTION.TVE_COLLAPSE, (LPARAM)
Handle
);
1664
PInvokeCore.SendMessage(tv, PInvoke.TVM_ENSUREVISIBLE, 0,
Handle
);
1682
PInvokeCore.SendMessage(tv, PInvoke.TVM_EXPAND, (WPARAM)(uint)NM_TREEVIEW_ACTION.TVE_EXPAND, (LPARAM)
Handle
);
System\Windows\Forms\Controls\TreeView\TreeNodeCollection.cs (4)
54
if (tv._nodesByHandle.ContainsKey(value.
Handle
) && value._index != index)
59
if (tv._nodesByHandle.ContainsKey(value.
Handle
)
60
&& value.
Handle
== actual.
Handle
System\Windows\Forms\Controls\TreeView\TreeView.cs (3)
1118
nint hnode = (value is null ? 0 : value.
Handle
);
1320
nint hnode = (value is null ? 0 : value.
Handle
);
3116
PInvokeCore.PostMessage(this, PInvoke.TVM_SELECTITEM, (WPARAM)PInvoke.TVGN_DROPHILITE, (LPARAM)treeNode.
Handle
);
System.Windows.Forms.Tests (10)
System\Windows\Forms\TreeNodeTests.cs (10)
894
IntPtr handle = node.
Handle
;
896
Assert.Equal(handle, node.
Handle
);
905
IntPtr handle = node.
Handle
;
907
Assert.Equal(handle, node.
Handle
);
953
IntPtr handle = node.
Handle
;
955
Assert.Equal(handle, node.
Handle
);
2345
control.GetNextItemResult = node.
Handle
;
2738
control.GetPreviousItemResult = node.
Handle
;
4682
TreeNode result1 = TreeNode.FromHandle(treeView, node1.
Handle
);
4685
TreeNode result2 = TreeNode.FromHandle(treeView, node2.
Handle
);