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