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