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)
486
int toIndex = generator.
IndexFromGeneratorPosition
(toPos);
System\Windows\Controls\VirtualizingStackPanel.cs (9)
3543
"stpos:", args.Position, Generator.
IndexFromGeneratorPosition
(args.Position),
3544
"oldpos:", args.OldPosition, Generator.
IndexFromGeneratorPosition
(args.OldPosition),
3640
int startIndex = Generator.
IndexFromGeneratorPosition
(args.Position);
3655
int startIndex = Generator.
IndexFromGeneratorPosition
(args.Position);
3664
int startIndex = Generator.
IndexFromGeneratorPosition
(args.Position);
3665
int startOldIndex = Generator.
IndexFromGeneratorPosition
(args.OldPosition);
3698
int startIndex = Generator.
IndexFromGeneratorPosition
(args.Position);
8870
position = Generator.GeneratorPositionFromIndex(Generator.
IndexFromGeneratorPosition
(position) - 1);
11236
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);