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 DispatcherOnGroupsChanged(GroupsChangedArgs args) { if (args.Added.Count == 1) { this.addedGroupId = ((Group)args.Added[0]).Id; } if (args.Removed.Count == 1) { this.deletedGroupId = ((Group)args.Removed[0]).Id; } if (args.Updated.Count == 1) { this.updatedGroupId = ((Group)args.Updated[0]).Id; } }
private void Dispatcher_GroupsChanged(GroupsChangedArgs args) { if (args.Added.Count == 1) { this.addedReported++; } if (args.Removed.Count == 1) { this.removedReported++; } if (args.Updated.Count == 1) { this.updateReported++; } }
private void DispatcherGroupsChanged(GroupsChangedArgs args) { if (args.Added.Count == 1) { this.addedCount++; } if (args.Updated.Count == 1) { this.updatedCount++; } if (args.Removed.Count == 1) { this.deletedCount++; } }