19 references to GeneratorPosition
PresentationFramework (19)
System\Windows\Controls\DataGridCellsPanel.cs (3)
518GeneratorPosition position = (generator != null) ? generator.GeneratorPositionFromIndex(index) : new GeneratorPosition(-1, index + 1); 1151GeneratorPosition position = new GeneratorPosition(startIndex, 0); 1159generator.Remove(new GeneratorPosition(startIndex, 0), count);
System\Windows\Controls\ItemContainerGenerator.cs (9)
2132position = new GeneratorPosition(-1, 0); 2155position = new GeneratorPosition(containerIndex + offsetFromBlockStart, 0); 2160position = new GeneratorPosition(containerIndex-1, offsetFromBlockStart+1); 2174position = new GeneratorPosition(-1, 0); 2194position = new GeneratorPosition(containerIndex + offsetFromBlockStart, 0); 2243position = new GeneratorPosition(containerIndex-1, 1); 2456GeneratorPosition position = new GeneratorPosition(-1,0); 2671position = new GeneratorPosition(-1,0); 2772GeneratorPosition position = new GeneratorPosition(0, 0);
System\Windows\Controls\Panel.cs (1)
657using (generator.StartAt(new GeneratorPosition(-1, 0), GeneratorDirection.Forward))
System\Windows\Controls\Primitives\ItemsChangedEventArgs.cs (1)
44int itemUICount) : this(action, position, new GeneratorPosition(-1, 0), itemCount, itemUICount)
System\Windows\Controls\VirtualizingStackPanel.cs (5)
8890GeneratorPosition position = new GeneratorPosition(childIndex, 0); 9328GeneratorPosition position = (generator != null) ? generator.GeneratorPositionFromIndex(index) : new GeneratorPosition(-1, index + 1); 9474((IRecyclingItemContainerGenerator)generator).Recycle(new GeneratorPosition(startIndex, 0), count); 9496generator.Remove(new GeneratorPosition(startIndex, 0), count); 11258return Generator.IndexFromGeneratorPosition(new GeneratorPosition(childIndex, 0));