1 implementation of IndexFromGeneratorPosition
PresentationFramework (1)
src\Framework\System\Windows\Controls\ItemContainerGenerator.cs (1)
525
int IItemContainerGenerator.
IndexFromGeneratorPosition
(GeneratorPosition position)
9 references to IndexFromGeneratorPosition
PresentationFramework (9)
src\Framework\System\Windows\Controls\Panel.cs (1)
785
int toIndex = generator.
IndexFromGeneratorPosition
(toPos);
src\Framework\System\Windows\Controls\Primitives\ToolBarPanel.cs (1)
503
int toIndex = generator.
IndexFromGeneratorPosition
(toPos);
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (7)
3594
int startOldIndex = Generator.
IndexFromGeneratorPosition
(args.OldPosition);
3609
int startIndex = Generator.
IndexFromGeneratorPosition
(args.Position);
3618
int startIndex = Generator.
IndexFromGeneratorPosition
(args.Position);
3619
int startOldIndex = Generator.
IndexFromGeneratorPosition
(args.OldPosition);
3652
int startIndex = Generator.
IndexFromGeneratorPosition
(args.Position);
8738
position = Generator.GeneratorPositionFromIndex(Generator.
IndexFromGeneratorPosition
(position) - 1);
11125
return Generator.
IndexFromGeneratorPosition
(new GeneratorPosition(childIndex, 0));