7 writes to Offset
PresentationFramework (7)
src\Framework\System\Windows\Controls\ItemContainerGenerator.cs (7)
517
++position.
Offset
;
2484
position.
Offset
= unrealizedItemsSkipped + offsetFromBlockStart + 1;
2517
position.
Offset
= 1;
2694
position.
Offset
= 0;
2698
position.
Offset
+= block.ItemCount;
2703
position.
Offset
+= offsetFromBlockStart + 1;
2733
position.
Offset
= 1;
13 references to Offset
PresentationFramework (13)
src\Framework\System\Windows\Controls\DataGridCellsPanel.cs (2)
529
childIndex = (position.
Offset
== 0) ? position.Index : position.Index + 1;
2095
if (position.
Offset
> 0)
src\Framework\System\Windows\Controls\ItemContainerGenerator.cs (8)
280
if (position.
Offset
!= 0)
281
throw new ArgumentException(SR.Get(SRID.RemoveRequiresOffsetZero, position.Index, position.
Offset
), "position");
532
if (position.
Offset
>= 0)
534
return position.
Offset
- 1;
538
return ItemsInternal.Count + position.
Offset
;
552
return itemIndex + index + position.
Offset
;
1682
int offset = position.
Offset
;
2100
if (position.
Offset
== 0 && position.Index >= 0)
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (3)
8739
return (position.
Offset
== 0 && position.Index >= 0);
8844
if (position.
Offset
> 0)
9184
childIndex = (position.
Offset
== 0) ? position.Index : position.Index + 1;