1 implementation of IndexFromGeneratorPosition
PresentationFramework (1)
System\Windows\Controls\ItemContainerGenerator.cs (1)
516int IItemContainerGenerator.IndexFromGeneratorPosition(GeneratorPosition position)
12 references to IndexFromGeneratorPosition
PresentationFramework (11)
System\Windows\Controls\Panel.cs (1)
774int toIndex = generator.IndexFromGeneratorPosition(toPos);
System\Windows\Controls\Primitives\ToolBarPanel.cs (1)
493int toIndex = generator.IndexFromGeneratorPosition(toPos);
System\Windows\Controls\VirtualizingStackPanel.cs (9)
3557"stpos:", args.Position, Generator.IndexFromGeneratorPosition(args.Position), 3558"oldpos:", args.OldPosition, Generator.IndexFromGeneratorPosition(args.OldPosition), 3654int startIndex = Generator.IndexFromGeneratorPosition(args.Position); 3669int startIndex = Generator.IndexFromGeneratorPosition(args.Position); 3678int startIndex = Generator.IndexFromGeneratorPosition(args.Position); 3679int startOldIndex = Generator.IndexFromGeneratorPosition(args.OldPosition); 3712int startIndex = Generator.IndexFromGeneratorPosition(args.Position); 8891position = Generator.GeneratorPositionFromIndex(Generator.IndexFromGeneratorPosition(position) - 1); 11258return Generator.IndexFromGeneratorPosition(new GeneratorPosition(childIndex, 0));
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonQuickAccessToolBarPanel.cs (1)
40int indexToInsertAt = Generator.IndexFromGeneratorPosition(args.Position);