private void OnHierarchicalItemsCollectionChanged(object sender, NotifyCollectionChangedEventArgs e)
 {
     foreach (var item in e.GetAddedItems(sender).OfType <VirtualTreeViewItem>())
     {
         item.ParentTreeView = this;
     }
 }