28 references to GeneratorDirection
PresentationFramework (28)
src\Framework\System\Windows\Controls\DataGridCellsPanel.cs (4)
548generatorState = generator.StartAt(IndexToGeneratorPositionForStart(generator, childIndex, out childIndex), GeneratorDirection.Forward, true); 603using (generator.StartAt(startPos, GeneratorDirection.Forward, true)) 845using (generator.StartAt(IndexToGeneratorPositionForStart(generator, childIndex, out childIndex), GeneratorDirection.Forward, true)) 977using (((IItemContainerGenerator)generator).StartAt(IndexToGeneratorPositionForStart(generator, childIndex, out childIndex), GeneratorDirection.Forward, true))
src\Framework\System\Windows\Controls\ItemContainerGenerator.cs (13)
200IDisposable IItemContainerGenerator.StartAt(GeneratorPosition position, GeneratorDirection direction) 213IDisposable IItemContainerGenerator.StartAt(GeneratorPosition position, GeneratorDirection direction, bool allowStartAtRealizedItem) 1210SetAlternationIndex((RealizedItemBlock)block, offset, GeneratorDirection.Forward); 1337internal Generator(ItemContainerGenerator factory, GeneratorPosition position, GeneratorDirection direction, bool allowStartAtRealizedItem) 1387int incr = (_direction == GeneratorDirection.Forward) ? +1 : -1; 1458if (_direction == GeneratorDirection.Forward) 1588GeneratorDirection _direction; 1643void MoveToPosition(GeneratorPosition position, GeneratorDirection direction, bool allowStartAtRealizedItem, ref GeneratorState state) 1685offset = (direction == GeneratorDirection.Forward) ? 1 : -1; 1840void SetAlternationIndex(ItemBlock block, int offset, GeneratorDirection direction) 1851if (direction != GeneratorDirection.Backward) 2565SetAlternationIndex(block, offsetFromBlockStart, GeneratorDirection.Forward); 2774SetAlternationIndex(block, offsetFromBlockStart, GeneratorDirection.Forward);
src\Framework\System\Windows\Controls\Panel.cs (3)
668using (generator.StartAt(new GeneratorPosition(-1, 0), GeneratorDirection.Forward)) 726using (generator.StartAt(pos, GeneratorDirection.Forward)) 756using (generator.StartAt(pos, GeneratorDirection.Forward, true))
src\Framework\System\Windows\Controls\Primitives\IItemContainerGenerator.cs (2)
39IDisposable StartAt(GeneratorPosition position, GeneratorDirection direction); 49IDisposable StartAt(GeneratorPosition position, GeneratorDirection direction, bool allowStartAtRealizedItem);
src\Framework\System\Windows\Controls\Primitives\ToolBarPanel.cs (2)
416using (generator.StartAt(pos, GeneratorDirection.Forward)) 471using (generator.StartAt(pos, GeneratorDirection.Forward, true))
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (4)
1655using (generator.StartAt(position, GeneratorDirection.Forward, true)) 2378using (generator.StartAt(startPos, GeneratorDirection.Backward, true)) 2680using (generator.StartAt(startPos, GeneratorDirection.Forward, true)) 8816using (Generator.StartAt(args.Position, GeneratorDirection.Forward, true))