30 references to GeneratorDirection
PresentationFramework (28)
System\Windows\Controls\DataGridCellsPanel.cs (4)
541generatorState = generator.StartAt(IndexToGeneratorPositionForStart(generator, childIndex, out childIndex), GeneratorDirection.Forward, true); 596using (generator.StartAt(startPos, GeneratorDirection.Forward, true)) 838using (generator.StartAt(IndexToGeneratorPositionForStart(generator, childIndex, out childIndex), GeneratorDirection.Forward, true)) 970using (((IItemContainerGenerator)generator).StartAt(IndexToGeneratorPositionForStart(generator, childIndex, out childIndex), GeneratorDirection.Forward, true))
System\Windows\Controls\ItemContainerGenerator.cs (13)
192IDisposable IItemContainerGenerator.StartAt(GeneratorPosition position, GeneratorDirection direction) 205IDisposable IItemContainerGenerator.StartAt(GeneratorPosition position, GeneratorDirection direction, bool allowStartAtRealizedItem) 1193SetAlternationIndex((RealizedItemBlock)block, offset, GeneratorDirection.Forward); 1320internal Generator(ItemContainerGenerator factory, GeneratorPosition position, GeneratorDirection direction, bool allowStartAtRealizedItem) 1370int incr = (_direction == GeneratorDirection.Forward) ? +1 : -1; 1441if (_direction == GeneratorDirection.Forward) 1571GeneratorDirection _direction; 1626void MoveToPosition(GeneratorPosition position, GeneratorDirection direction, bool allowStartAtRealizedItem, ref GeneratorState state) 1668offset = (direction == GeneratorDirection.Forward) ? 1 : -1; 1823void SetAlternationIndex(ItemBlock block, int offset, GeneratorDirection direction) 1834if (direction != GeneratorDirection.Backward) 2550SetAlternationIndex(block, offsetFromBlockStart, GeneratorDirection.Forward); 2761SetAlternationIndex(block, offsetFromBlockStart, GeneratorDirection.Forward);
System\Windows\Controls\Panel.cs (3)
657using (generator.StartAt(new GeneratorPosition(-1, 0), GeneratorDirection.Forward)) 715using (generator.StartAt(pos, GeneratorDirection.Forward)) 745using (generator.StartAt(pos, GeneratorDirection.Forward, true))
System\Windows\Controls\Primitives\IItemContainerGenerator.cs (2)
35IDisposable StartAt(GeneratorPosition position, GeneratorDirection direction); 45IDisposable StartAt(GeneratorPosition position, GeneratorDirection direction, bool allowStartAtRealizedItem);
System\Windows\Controls\Primitives\ToolBarPanel.cs (2)
405using (generator.StartAt(pos, GeneratorDirection.Forward)) 457using (generator.StartAt(pos, GeneratorDirection.Forward, true))
System\Windows\Controls\VirtualizingStackPanel.cs (4)
1689using (generator.StartAt(position, GeneratorDirection.Forward, true)) 2412using (generator.StartAt(startPos, GeneratorDirection.Backward, true)) 2715using (generator.StartAt(startPos, GeneratorDirection.Forward, true)) 8948using (Generator.StartAt(args.Position, GeneratorDirection.Forward, true))
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonQuickAccessToolBarPanel.cs (2)
36using (Generator.StartAt(args.Position, GeneratorDirection.Forward, true)) 141using (Generator.StartAt(startPos, GeneratorDirection.Forward, true))