In my class which inherited TreeViewItem
I used a field to store the parent TreeView
object
TreeView _parentTreeView
Since TreeView
will definitely have a reference to the TreeViewItem
while the TreeViewItem
holds a reference to the parent. Will this prevent both TreeView
and TreeViewItem
from being garbage collected?