30 references to GeneratorDirection
PresentationFramework (28)
System\Windows\Controls\DataGridCellsPanel.cs (4)
541
generatorState = generator.StartAt(IndexToGeneratorPositionForStart(generator, childIndex, out childIndex),
GeneratorDirection
.Forward, true);
596
using (generator.StartAt(startPos,
GeneratorDirection
.Forward, true))
838
using (generator.StartAt(IndexToGeneratorPositionForStart(generator, childIndex, out childIndex),
GeneratorDirection
.Forward, true))
970
using (((IItemContainerGenerator)generator).StartAt(IndexToGeneratorPositionForStart(generator, childIndex, out childIndex),
GeneratorDirection
.Forward, true))
System\Windows\Controls\ItemContainerGenerator.cs (13)
192
IDisposable IItemContainerGenerator.StartAt(GeneratorPosition position,
GeneratorDirection
direction)
205
IDisposable IItemContainerGenerator.StartAt(GeneratorPosition position,
GeneratorDirection
direction, bool allowStartAtRealizedItem)
1193
SetAlternationIndex((RealizedItemBlock)block, offset,
GeneratorDirection
.Forward);
1320
internal Generator(ItemContainerGenerator factory, GeneratorPosition position,
GeneratorDirection
direction, bool allowStartAtRealizedItem)
1370
int incr = (_direction ==
GeneratorDirection
.Forward) ? +1 : -1;
1441
if (_direction ==
GeneratorDirection
.Forward)
1571
GeneratorDirection
_direction;
1626
void MoveToPosition(GeneratorPosition position,
GeneratorDirection
direction, bool allowStartAtRealizedItem, ref GeneratorState state)
1668
offset = (direction ==
GeneratorDirection
.Forward) ? 1 : -1;
1823
void SetAlternationIndex(ItemBlock block, int offset,
GeneratorDirection
direction)
1834
if (direction !=
GeneratorDirection
.Backward)
2550
SetAlternationIndex(block, offsetFromBlockStart,
GeneratorDirection
.Forward);
2761
SetAlternationIndex(block, offsetFromBlockStart,
GeneratorDirection
.Forward);
System\Windows\Controls\Panel.cs (3)
657
using (generator.StartAt(new GeneratorPosition(-1, 0),
GeneratorDirection
.Forward))
715
using (generator.StartAt(pos,
GeneratorDirection
.Forward))
745
using (generator.StartAt(pos,
GeneratorDirection
.Forward, true))
System\Windows\Controls\Primitives\IItemContainerGenerator.cs (2)
35
IDisposable StartAt(GeneratorPosition position,
GeneratorDirection
direction);
45
IDisposable StartAt(GeneratorPosition position,
GeneratorDirection
direction, bool allowStartAtRealizedItem);
System\Windows\Controls\Primitives\ToolBarPanel.cs (2)
405
using (generator.StartAt(pos,
GeneratorDirection
.Forward))
457
using (generator.StartAt(pos,
GeneratorDirection
.Forward, true))
System\Windows\Controls\VirtualizingStackPanel.cs (4)
1689
using (generator.StartAt(position,
GeneratorDirection
.Forward, true))
2412
using (generator.StartAt(startPos,
GeneratorDirection
.Backward, true))
2715
using (generator.StartAt(startPos,
GeneratorDirection
.Forward, true))
8948
using (Generator.StartAt(args.Position,
GeneratorDirection
.Forward, true))
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonQuickAccessToolBarPanel.cs (2)
36
using (Generator.StartAt(args.Position,
GeneratorDirection
.Forward, true))
141
using (Generator.StartAt(startPos,
GeneratorDirection
.Forward, true))