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