7 writes to Offset
PresentationFramework (7)
System\Windows\Controls\ItemContainerGenerator.cs (7)
508
++position.
Offset
;
2467
position.
Offset
= unrealizedItemsSkipped + offsetFromBlockStart + 1;
2502
position.
Offset
= 1;
2679
position.
Offset
= 0;
2683
position.
Offset
+= block.ItemCount;
2688
position.
Offset
+= offsetFromBlockStart + 1;
2720
position.
Offset
= 1;
13 references to Offset
PresentationFramework (13)
System\Windows\Controls\DataGridCellsPanel.cs (2)
522
childIndex = (position.
Offset
== 0) ? position.Index : position.Index + 1;
2084
if (position.
Offset
> 0)
System\Windows\Controls\ItemContainerGenerator.cs (8)
272
if (position.
Offset
!= 0)
273
throw new ArgumentException(SR.Format(SR.RemoveRequiresOffsetZero, position.Index, position.
Offset
), nameof(position));
523
if (position.
Offset
>= 0)
525
return position.
Offset
- 1;
529
return ItemsInternal.Count + position.
Offset
;
543
return itemIndex + index + position.
Offset
;
1665
int offset = position.
Offset
;
2083
if (position.
Offset
== 0 && position.Index >= 0)
System\Windows\Controls\VirtualizingStackPanel.cs (3)
8871
return (position.
Offset
== 0 && position.Index >= 0);
8976
if (position.
Offset
> 0)
9312
childIndex = (position.
Offset
== 0) ? position.Index : position.Index + 1;