예제 #1
0
 private void OnGroupsCollectionChanged(GroupsChangedArgs args)
 {
     if (IsOrphan)
     {
         this.UnregisterEvents();
     }
     else
     {
         var levelParams = new GroupsLevelUpdate(this.favoriteIcons, this.RootNodes, args, this.toolTipBuilder);
         levelParams.Run();
     }
 }
예제 #2
0
        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();
        }