3 writes to _parent
System.Windows.Forms (3)
System\Windows\Forms\Controls\TreeView\TreeNode.cs (2)
1790
node.
_parent
= this;
1968
_parent
= null;
System\Windows\Forms\Controls\TreeView\TreeNodeCollection.cs (1)
325
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];
1708
while (node.
_parent
is not null)
1710
node = node.
_parent
;
1737
if (
_parent
is not null)
1739
_parent
.GetFullPath(path, pathSeparator);
1740
if (
_parent
.
_parent
is not null)
1780
node = node.
_parent
;
1826
if (
_parent
is not null)
1836
hParent =
_parent
.HTREEITEMInternal
1903
if (
_parent
._nodesCleared && (insertFirst || prev is null) && !tv.Scrollable)
1956
if (notify &&
_parent
is not null)
1958
for (int i = _index; i <
_parent
._childCount - 1; ++i)
1960
(
_parent
._children[i] =
_parent
._children[i + 1])._index = i;
1964
_parent
._children[
_parent
._childCount - 1] = null;
1966
_parent
._childCount--;
2103
Debug.Assert(
_parent
is not null, "toggle on virtual root");