1 implementation of IndexFromGeneratorPosition
PresentationFramework (1)
System\Windows\Controls\ItemContainerGenerator.cs (1)
516
int IItemContainerGenerator.
IndexFromGeneratorPosition
(GeneratorPosition position)
12 references to IndexFromGeneratorPosition
PresentationFramework (11)
System\Windows\Controls\Panel.cs (1)
774
int toIndex = generator.
IndexFromGeneratorPosition
(toPos);
System\Windows\Controls\Primitives\ToolBarPanel.cs (1)
493
int 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),
3654
int startIndex = Generator.
IndexFromGeneratorPosition
(args.Position);
3669
int startIndex = Generator.
IndexFromGeneratorPosition
(args.Position);
3678
int startIndex = Generator.
IndexFromGeneratorPosition
(args.Position);
3679
int startOldIndex = Generator.
IndexFromGeneratorPosition
(args.OldPosition);
3712
int startIndex = Generator.
IndexFromGeneratorPosition
(args.Position);
8891
position = Generator.GeneratorPositionFromIndex(Generator.
IndexFromGeneratorPosition
(position) - 1);
11258
return Generator.
IndexFromGeneratorPosition
(new GeneratorPosition(childIndex, 0));
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonQuickAccessToolBarPanel.cs (1)
40
int indexToInsertAt = Generator.
IndexFromGeneratorPosition
(args.Position);