private void OnGroupsCollectionChanged(GroupsChangedArgs args) { if (IsOrphan) { this.UnregisterEvents(); } else { var levelParams = new GroupsLevelUpdate(this.favoriteIcons, this.RootNodes, args, this.toolTipBuilder); levelParams.Run(); } }
private void UpdateGroupNodeChilds() { // take only expanded nodes, for better performance and to protect the lazy loading if (this.CurrentNode.NotLoadedYet) { return; } var nextLevelUpdate = new GroupsLevelUpdate(this.FavoriteIcons, this.CurrentNode.Nodes, this.Changes, this.CurrentNode, this.ToolTipBuilder); nextLevelUpdate.Run(); }