77 references to OldStartingIndex
PresentationFramework (68)
src\Framework\MS\Internal\Data\CompositeCollectionView.cs (7)
429startingIndex = args.OldStartingIndex; 461UpdateCurrencyAfterRemove(index, args.OldStartingIndex, true); 514int startingIndex = args.OldStartingIndex; 561int oldStartingIndex = args.OldStartingIndex; 603UpdateCurrencyAfterRemove(oldStartingIndex, args.OldStartingIndex, true); 708int flatOldIndex = args.OldStartingIndex; 732if (args.OldStartingIndex >= 0)
src\Framework\MS\Internal\Data\EnumerableCollectionView.cs (5)
427if (args.OldStartingIndex < 0) 430for (int i=args.OldItems.Count-1, index=args.OldStartingIndex+i; i>=0; --i, --index) 453if (args.OldStartingIndex < args.NewStartingIndex) 456oldIndex = args.OldStartingIndex + i, 470oldIndex = args.OldStartingIndex + i,
src\Framework\System\Windows\Controls\DataGrid.cs (3)
7311if (GroupingSortDescriptionIndices[i] > e.OldStartingIndex) 7315else if (GroupingSortDescriptionIndices[i] == e.OldStartingIndex) 7329GroupingSortDescriptionIndices.Remove(e.OldStartingIndex);
src\Framework\System\Windows\Controls\DataGridColumnCollection.cs (2)
105UpdateDisplayIndexForMovedColumn(e.OldStartingIndex, e.NewStartingIndex); 113UpdateDisplayIndexForRemovedColumns(e.OldItems, e.OldStartingIndex);
src\Framework\System\Windows\Controls\DataGridColumnHeaderCollection.cs (3)
220newArgs = new NotifyCollectionChangedEventArgs(e.Action, HeadersFromColumns(e.OldItems), e.OldStartingIndex); 224newArgs = new NotifyCollectionChangedEventArgs(e.Action, HeadersFromColumns(e.OldItems), e.NewStartingIndex, e.OldStartingIndex); 228newArgs = new NotifyCollectionChangedEventArgs(e.Action, HeadersFromColumns(e.NewItems), HeadersFromColumns(e.OldItems), e.OldStartingIndex);
src\Framework\System\Windows\Controls\GridViewHeaderRowPresenter.cs (3)
700int start = GetVisualIndex(e.OldStartingIndex); 718RemoveHeader(null, GetVisualIndex(e.OldStartingIndex)); 723index = GetVisualIndex(e.OldStartingIndex);
src\Framework\System\Windows\Controls\ItemCollection.cs (7)
2215Debug.Assert(e.OldStartingIndex >= 0); 2218clone.RemoveAt(e.OldStartingIndex); 2223Debug.Assert(e.OldStartingIndex >= 0); 2228clone[e.OldStartingIndex + i] = (T)e.NewItems[i]; 2233Debug.Assert(e.OldStartingIndex >= 0); 2238clone.RemoveAt(e.OldStartingIndex); 2245clone.RemoveAt(e.OldStartingIndex);
src\Framework\System\Windows\Controls\ItemContainerGenerator.cs (2)
2419OnItemRemoved(args.OldItems[0], args.OldStartingIndex); 2439OnItemMoved(args.OldItems[0], args.OldStartingIndex, args.NewStartingIndex);
src\Framework\System\Windows\Controls\ItemsControl.cs (6)
3675if (index > e.OldStartingIndex) 3679else if (index == e.OldStartingIndex) 3690if (e.OldStartingIndex < e.NewStartingIndex) 3692left = e.OldStartingIndex + 1; 3699right = e.OldStartingIndex - 1; 3706if (index == e.OldStartingIndex)
src\Framework\System\Windows\Controls\MultipleCopiesCollection.cs (2)
64Move(e.OldStartingIndex, e.NewStartingIndex); 71RemoveAt(e.OldStartingIndex);
src\Framework\System\Windows\Controls\Primitives\Selector.cs (1)
1293ItemInfo info = NewItemInfo(e.OldItems[0], ItemInfo.SentinelContainer, e.OldStartingIndex);
src\Framework\System\Windows\Controls\TabControl.cs (1)
402int startIndex = e.OldStartingIndex + 1;
src\Framework\System\Windows\Controls\VirtualizedCellInfoCollection.cs (3)
962OnRemoveRow(e.OldStartingIndex, e.OldItems[0]); 966OnReplaceRow(e.OldStartingIndex, e.OldItems[0]); 970OnMoveRow(e.OldStartingIndex, e.NewStartingIndex);
src\Framework\System\Windows\Data\BindingListCollectionView.cs (7)
1547moveCurrency = AdjustCurrencyForRemove(args.OldStartingIndex); 1568AdjustCurrencyForMove(args.OldStartingIndex, args.NewStartingIndex); 1573_group.MoveWithinSubgroups(args.OldItems[0], null, InternalList, args.OldStartingIndex, args.NewStartingIndex); 1843_shadowList.RemoveAt(e.OldStartingIndex); 1846_shadowList[e.OldStartingIndex] = e.NewItems[0]; 1849_shadowList.Move(e.OldStartingIndex, e.NewStartingIndex); 2328AdjustCurrencyForRemove(e.OldStartingIndex);
src\Framework\System\Windows\Data\CollectionView.cs (4)
1111AdjustCurrencyForRemove(args.OldStartingIndex); 1119AdjustCurrencyForReplace(args.OldStartingIndex); 1127AdjustCurrencyForMove(args.OldStartingIndex, args.NewStartingIndex); 2003if (e.OldStartingIndex < 0)
src\Framework\System\Windows\Data\ListCollectionView.cs (12)
1717|| args.Action != NotifyCollectionChangedAction.Add && args.OldStartingIndex < 0) 1771adjustedOldIndex = AdjustBefore(NotifyCollectionChangedAction.Remove, args.OldItems[0], args.OldStartingIndex); 1792if (IsAddingNew && args.OldStartingIndex < _newItemIndex) 1813if (args.OldStartingIndex == _newItemIndex) 1817else if (args.OldStartingIndex < _newItemIndex && _newItemIndex <= args.NewStartingIndex) 1821else if (args.NewStartingIndex <= _newItemIndex && _newItemIndex < args.OldStartingIndex) 2414if (e.OldStartingIndex > _unknownIndex) 2416ShadowCollection.RemoveAt(e.OldStartingIndex); 2424if (e.OldStartingIndex > _unknownIndex) 2426ShadowCollection[e.OldStartingIndex] = e.NewItems[0]; 2437tempIndex = e.OldStartingIndex; 3031AdjustCurrencyForRemove(e.OldStartingIndex);
System (1)
compmod\system\collections\specialized\marshalinghelpers.cs (1)
99managedArgs.OldStartingIndex);
System.Activities.Core.Presentation (4)
System\Activities\Core\Presentation\TransitionDesigner.xaml.cs (4)
260if (e.OldStartingIndex < e.NewStartingIndex) 262ModelItem nextModelItem = this.TransitionsSharingTrigger[e.OldStartingIndex].Item; 266else if (e.OldStartingIndex > e.NewStartingIndex) 268ModelItem previousModelItem = this.TransitionsSharingTrigger[e.OldStartingIndex].Item;
System.Activities.Presentation (2)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyValueCollection.cs (1)
462int oldIndex = e.OldStartingIndex, newIndex = e.NewStartingIndex;
System.Activities.Presentation\System\Activities\Presentation\WorkflowItemsPresenter.cs (1)
272int itemViewIndex = GetViewIndexForItem(e.OldStartingIndex);
System.Data (2)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyValueCollection.cs (1)
462int oldIndex = e.OldStartingIndex, newIndex = e.NewStartingIndex;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowItemsPresenter.cs (1)
272int itemViewIndex = GetViewIndexForItem(e.OldStartingIndex);