/// <summary> /// Invoked when the <see cref="ItemsControl.Items"/> property changes. /// </summary> /// <param name="e">Information about the change.</param> protected override void OnItemsChanged(NotifyCollectionChangedEventArgs e) { base.OnItemsChanged(e); ParentTreeView?.HandleItemsChanged(this, e); }