3 writes to _parent
System.Windows.Forms (3)
System\Windows\Forms\Controls\TreeView\TreeNode.cs (2)
1787
node.
_parent
= this;
1965
_parent
= null;
System\Windows\Forms\Controls\TreeView\TreeNodeCollection.cs (1)
324
node.
_parent
= _owner;
27 references to _parent
System.Windows.Forms (27)
System\Windows\Forms\Controls\TreeView\TreeNode.cs (27)
670
if (
_parent
is not null && _index + 1 <
_parent
.Nodes.Count)
672
return
_parent
.Nodes[_index + 1];
797
if (tv is not null &&
_parent
== tv._root)
802
return
_parent
;
814
if (
_parent
is null)
821
int fixedInd =
_parent
.Nodes.FixedIndex;
828
if (currentInd > 0 && currentInd <=
_parent
.Nodes.Count)
830
return
_parent
.Nodes[currentInd - 1];
1705
while (node.
_parent
is not null)
1707
node = node.
_parent
;
1734
if (
_parent
is not null)
1736
_parent
.GetFullPath(path, pathSeparator);
1737
if (
_parent
.
_parent
is not null)
1777
node = node.
_parent
;
1823
if (
_parent
is not null)
1833
hParent =
_parent
.HTREEITEMInternal
1900
if (
_parent
._nodesCleared && (insertFirst || prev is null) && !tv.Scrollable)
1953
if (notify &&
_parent
is not null)
1955
for (int i = _index; i <
_parent
._childCount - 1; ++i)
1957
(
_parent
._children[i] =
_parent
._children[i + 1])._index = i;
1961
_parent
._children[
_parent
._childCount - 1] = null;
1963
_parent
._childCount--;
2098
Debug.Assert(
_parent
is not null, "toggle on virtual root");