30 references to GeneratorDirection
PresentationFramework (28)
System\Windows\Controls\DataGridCellsPanel.cs (4)
540generatorState = generator.StartAt(IndexToGeneratorPositionForStart(generator, childIndex, out childIndex), GeneratorDirection.Forward, true); 595using (generator.StartAt(startPos, GeneratorDirection.Forward, true)) 837using (generator.StartAt(IndexToGeneratorPositionForStart(generator, childIndex, out childIndex), GeneratorDirection.Forward, true)) 969using (((IItemContainerGenerator)generator).StartAt(IndexToGeneratorPositionForStart(generator, childIndex, out childIndex), GeneratorDirection.Forward, true))
System\Windows\Controls\ItemContainerGenerator.cs (13)
191IDisposable IItemContainerGenerator.StartAt(GeneratorPosition position, GeneratorDirection direction) 204IDisposable IItemContainerGenerator.StartAt(GeneratorPosition position, GeneratorDirection direction, bool allowStartAtRealizedItem) 1192SetAlternationIndex((RealizedItemBlock)block, offset, GeneratorDirection.Forward); 1319internal Generator(ItemContainerGenerator factory, GeneratorPosition position, GeneratorDirection direction, bool allowStartAtRealizedItem) 1369int incr = (_direction == GeneratorDirection.Forward) ? +1 : -1; 1440if (_direction == GeneratorDirection.Forward) 1570private GeneratorDirection _direction; 1625private void MoveToPosition(GeneratorPosition position, GeneratorDirection direction, bool allowStartAtRealizedItem, ref GeneratorState state) 1667offset = (direction == GeneratorDirection.Forward) ? 1 : -1; 1822private void SetAlternationIndex(ItemBlock block, int offset, GeneratorDirection direction) 1833if (direction != GeneratorDirection.Backward) 2547SetAlternationIndex(block, offsetFromBlockStart, GeneratorDirection.Forward); 2758SetAlternationIndex(block, offsetFromBlockStart, GeneratorDirection.Forward);
System\Windows\Controls\Panel.cs (3)
656using (generator.StartAt(new GeneratorPosition(-1, 0), GeneratorDirection.Forward)) 714using (generator.StartAt(pos, GeneratorDirection.Forward)) 744using (generator.StartAt(pos, GeneratorDirection.Forward, true))
System\Windows\Controls\Primitives\IItemContainerGenerator.cs (2)
34IDisposable StartAt(GeneratorPosition position, GeneratorDirection direction); 44IDisposable StartAt(GeneratorPosition position, GeneratorDirection direction, bool allowStartAtRealizedItem);
System\Windows\Controls\Primitives\ToolBarPanel.cs (2)
404using (generator.StartAt(pos, GeneratorDirection.Forward)) 456using (generator.StartAt(pos, GeneratorDirection.Forward, true))
System\Windows\Controls\VirtualizingStackPanel.cs (4)
1688using (generator.StartAt(position, GeneratorDirection.Forward, true)) 2411using (generator.StartAt(startPos, GeneratorDirection.Backward, true)) 2714using (generator.StartAt(startPos, GeneratorDirection.Forward, true)) 8947using (Generator.StartAt(args.Position, GeneratorDirection.Forward, true))
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonQuickAccessToolBarPanel.cs (2)
35using (Generator.StartAt(args.Position, GeneratorDirection.Forward, true)) 140using (Generator.StartAt(startPos, GeneratorDirection.Forward, true))