7 writes to Offset
PresentationFramework (7)
System\Windows\Controls\ItemContainerGenerator.cs (7)
514
++position.
Offset
;
2476
position.
Offset
= unrealizedItemsSkipped + offsetFromBlockStart + 1;
2509
position.
Offset
= 1;
2686
position.
Offset
= 0;
2690
position.
Offset
+= block.ItemCount;
2695
position.
Offset
+= offsetFromBlockStart + 1;
2725
position.
Offset
= 1;
13 references to Offset
PresentationFramework (13)
System\Windows\Controls\DataGridCellsPanel.cs (2)
527
childIndex = (position.
Offset
== 0) ? position.Index : position.Index + 1;
2093
if (position.
Offset
> 0)
System\Windows\Controls\ItemContainerGenerator.cs (8)
278
if (position.
Offset
!= 0)
279
throw new ArgumentException(SR.Format(SR.RemoveRequiresOffsetZero, position.Index, position.
Offset
), "position");
529
if (position.
Offset
>= 0)
531
return position.
Offset
- 1;
535
return ItemsInternal.Count + position.
Offset
;
549
return itemIndex + index + position.
Offset
;
1674
int offset = position.
Offset
;
2092
if (position.
Offset
== 0 && position.Index >= 0)
System\Windows\Controls\VirtualizingStackPanel.cs (3)
8897
return (position.
Offset
== 0 && position.Index >= 0);
9002
if (position.
Offset
> 0)
9338
childIndex = (position.
Offset
== 0) ? position.Index : position.Index + 1;