1 implementation of IndexFromGeneratorPosition
PresentationFramework (1)
System\Windows\Controls\ItemContainerGenerator.cs (1)
515
int IItemContainerGenerator.
IndexFromGeneratorPosition
(GeneratorPosition position)
12 references to IndexFromGeneratorPosition
PresentationFramework (11)
System\Windows\Controls\Panel.cs (1)
773
int toIndex = generator.
IndexFromGeneratorPosition
(toPos);
System\Windows\Controls\Primitives\ToolBarPanel.cs (1)
485
int toIndex = generator.
IndexFromGeneratorPosition
(toPos);
System\Windows\Controls\VirtualizingStackPanel.cs (9)
3542
"stpos:", args.Position, Generator.
IndexFromGeneratorPosition
(args.Position),
3543
"oldpos:", args.OldPosition, Generator.
IndexFromGeneratorPosition
(args.OldPosition),
3639
int startIndex = Generator.
IndexFromGeneratorPosition
(args.Position);
3654
int startIndex = Generator.
IndexFromGeneratorPosition
(args.Position);
3663
int startIndex = Generator.
IndexFromGeneratorPosition
(args.Position);
3664
int startOldIndex = Generator.
IndexFromGeneratorPosition
(args.OldPosition);
3697
int startIndex = Generator.
IndexFromGeneratorPosition
(args.Position);
8869
position = Generator.GeneratorPositionFromIndex(Generator.
IndexFromGeneratorPosition
(position) - 1);
11235
return Generator.
IndexFromGeneratorPosition
(new GeneratorPosition(childIndex, 0));
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonQuickAccessToolBarPanel.cs (1)
39
int indexToInsertAt = Generator.
IndexFromGeneratorPosition
(args.Position);