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