7 writes to Offset
PresentationFramework (7)
System\Windows\Controls\ItemContainerGenerator.cs (7)
508
++position.
Offset
;
2470
position.
Offset
= unrealizedItemsSkipped + offsetFromBlockStart + 1;
2503
position.
Offset
= 1;
2680
position.
Offset
= 0;
2684
position.
Offset
+= block.ItemCount;
2689
position.
Offset
+= offsetFromBlockStart + 1;
2719
position.
Offset
= 1;
13 references to Offset
PresentationFramework (13)
System\Windows\Controls\DataGridCellsPanel.cs (2)
523
childIndex = (position.
Offset
== 0) ? position.Index : position.Index + 1;
2089
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
), "position");
523
if (position.
Offset
>= 0)
525
return position.
Offset
- 1;
529
return ItemsInternal.Count + position.
Offset
;
543
return itemIndex + index + position.
Offset
;
1668
int offset = position.
Offset
;
2086
if (position.
Offset
== 0 && position.Index >= 0)
System\Windows\Controls\VirtualizingStackPanel.cs (3)
8892
return (position.
Offset
== 0 && position.Index >= 0);
8997
if (position.
Offset
> 0)
9333
childIndex = (position.
Offset
== 0) ? position.Index : position.Index + 1;