30 references to GeneratorDirection
PresentationFramework (28)
System\Windows\Controls\DataGridCellsPanel.cs (4)
546generatorState = generator.StartAt(IndexToGeneratorPositionForStart(generator, childIndex, out childIndex), GeneratorDirection.Forward, true); 601using (generator.StartAt(startPos, GeneratorDirection.Forward, true)) 843using (generator.StartAt(IndexToGeneratorPositionForStart(generator, childIndex, out childIndex), GeneratorDirection.Forward, true)) 975using (((IItemContainerGenerator)generator).StartAt(IndexToGeneratorPositionForStart(generator, childIndex, out childIndex), GeneratorDirection.Forward, true))
System\Windows\Controls\ItemContainerGenerator.cs (13)
198IDisposable IItemContainerGenerator.StartAt(GeneratorPosition position, GeneratorDirection direction) 211IDisposable IItemContainerGenerator.StartAt(GeneratorPosition position, GeneratorDirection direction, bool allowStartAtRealizedItem) 1202SetAlternationIndex((RealizedItemBlock)block, offset, GeneratorDirection.Forward); 1329internal Generator(ItemContainerGenerator factory, GeneratorPosition position, GeneratorDirection direction, bool allowStartAtRealizedItem) 1379int incr = (_direction == GeneratorDirection.Forward) ? +1 : -1; 1450if (_direction == GeneratorDirection.Forward) 1580GeneratorDirection _direction; 1635void MoveToPosition(GeneratorPosition position, GeneratorDirection direction, bool allowStartAtRealizedItem, ref GeneratorState state) 1677offset = (direction == GeneratorDirection.Forward) ? 1 : -1; 1832void SetAlternationIndex(ItemBlock block, int offset, GeneratorDirection direction) 1843if (direction != GeneratorDirection.Backward) 2557SetAlternationIndex(block, offsetFromBlockStart, GeneratorDirection.Forward); 2766SetAlternationIndex(block, offsetFromBlockStart, GeneratorDirection.Forward);
System\Windows\Controls\Panel.cs (3)
664using (generator.StartAt(new GeneratorPosition(-1, 0), GeneratorDirection.Forward)) 722using (generator.StartAt(pos, GeneratorDirection.Forward)) 752using (generator.StartAt(pos, GeneratorDirection.Forward, true))
System\Windows\Controls\Primitives\IItemContainerGenerator.cs (2)
37IDisposable StartAt(GeneratorPosition position, GeneratorDirection direction); 47IDisposable StartAt(GeneratorPosition position, GeneratorDirection direction, bool allowStartAtRealizedItem);
System\Windows\Controls\Primitives\ToolBarPanel.cs (2)
415using (generator.StartAt(pos, GeneratorDirection.Forward)) 470using (generator.StartAt(pos, GeneratorDirection.Forward, true))
System\Windows\Controls\VirtualizingStackPanel.cs (4)
1704using (generator.StartAt(position, GeneratorDirection.Forward, true)) 2428using (generator.StartAt(startPos, GeneratorDirection.Backward, true)) 2731using (generator.StartAt(startPos, GeneratorDirection.Forward, true)) 8974using (Generator.StartAt(args.Position, GeneratorDirection.Forward, true))
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonQuickAccessToolBarPanel.cs (2)
42using (Generator.StartAt(args.Position, GeneratorDirection.Forward, true)) 147using (Generator.StartAt(startPos, GeneratorDirection.Forward, true))