7 writes to Offset
PresentationFramework (7)
System\Windows\Controls\ItemContainerGenerator.cs (7)
507
++position.
Offset
;
2464
position.
Offset
= unrealizedItemsSkipped + offsetFromBlockStart + 1;
2499
position.
Offset
= 1;
2676
position.
Offset
= 0;
2680
position.
Offset
+= block.ItemCount;
2685
position.
Offset
+= offsetFromBlockStart + 1;
2717
position.
Offset
= 1;
13 references to Offset
PresentationFramework (13)
System\Windows\Controls\DataGridCellsPanel.cs (2)
521
childIndex = (position.
Offset
== 0) ? position.Index : position.Index + 1;
2083
if (position.
Offset
> 0)
System\Windows\Controls\ItemContainerGenerator.cs (8)
271
if (position.
Offset
!= 0)
272
throw new ArgumentException(SR.Format(SR.RemoveRequiresOffsetZero, position.Index, position.
Offset
), nameof(position));
522
if (position.
Offset
>= 0)
524
return position.
Offset
- 1;
528
return ItemsInternal.Count + position.
Offset
;
542
return itemIndex + index + position.
Offset
;
1664
int offset = position.
Offset
;
2082
if (position.
Offset
== 0 && position.Index >= 0)
System\Windows\Controls\VirtualizingStackPanel.cs (3)
8870
return (position.
Offset
== 0 && position.Index >= 0);
8975
if (position.
Offset
> 0)
9311
childIndex = (position.
Offset
== 0) ? position.Index : position.Index + 1;