7 writes to _index
System.Windows.Forms (7)
System\Windows\Forms\Controls\TreeView\TreeNode.cs (5)
1229
newOrder[i].
_index
= i;
1263
newOrder[i].
_index
= i;
1791
node.
_index
= index;
1794
(_children[i] = _children[i - 1]).
_index
= i;
1960
(_parent._children[i] = _parent._children[i + 1]).
_index
= i;
System\Windows\Forms\Controls\TreeView\TreeNodeCollection.cs (2)
329
node.
_index
= fixedIndex + delta;
336
node.
_index
= _owner._childCount;
10 references to _index
System.Windows.Forms (10)
System\Windows\Forms\Controls\TreeView\TreeNode.cs (5)
569
public int Index =>
_index
;
670
if (_parent is not null &&
_index
+ 1 < _parent.Nodes.Count)
672
return _parent.Nodes[
_index
+ 1];
820
int currentInd =
_index
;
1958
for (int i =
_index
; i < _parent._childCount - 1; ++i)
System\Windows\Forms\Controls\TreeView\TreeNodeCollection.cs (5)
54
if (tv._nodesByHandle.ContainsKey(value.Handle) && value.
_index
!= index)
61
&& value.
_index
== index)
339
_owner._children[node.
_index
] = node;
353
return node.
_index
;
366
return Add(node.ToString()).
_index
;