1 implementation of IndexFromGeneratorPosition
PresentationFramework (1)
System\Windows\Controls\ItemContainerGenerator.cs (1)
522
int IItemContainerGenerator.
IndexFromGeneratorPosition
(GeneratorPosition position)
12 references to IndexFromGeneratorPosition
PresentationFramework (11)
System\Windows\Controls\Panel.cs (1)
781
int toIndex = generator.
IndexFromGeneratorPosition
(toPos);
System\Windows\Controls\Primitives\ToolBarPanel.cs (1)
502
int toIndex = generator.
IndexFromGeneratorPosition
(toPos);
System\Windows\Controls\VirtualizingStackPanel.cs (9)
3562
"stpos:", args.Position, Generator.
IndexFromGeneratorPosition
(args.Position),
3563
"oldpos:", args.OldPosition, Generator.
IndexFromGeneratorPosition
(args.OldPosition),
3659
int startIndex = Generator.
IndexFromGeneratorPosition
(args.Position);
3674
int startIndex = Generator.
IndexFromGeneratorPosition
(args.Position);
3683
int startIndex = Generator.
IndexFromGeneratorPosition
(args.Position);
3684
int startOldIndex = Generator.
IndexFromGeneratorPosition
(args.OldPosition);
3717
int startIndex = Generator.
IndexFromGeneratorPosition
(args.Position);
8896
position = Generator.GeneratorPositionFromIndex(Generator.
IndexFromGeneratorPosition
(position) - 1);
11263
return Generator.
IndexFromGeneratorPosition
(new GeneratorPosition(childIndex, 0));
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonQuickAccessToolBarPanel.cs (1)
46
int indexToInsertAt = Generator.
IndexFromGeneratorPosition
(args.Position);