30 references to GeneratorDirection
PresentationFramework (28)
System\Windows\Controls\DataGridCellsPanel.cs (4)
542
generatorState = generator.StartAt(IndexToGeneratorPositionForStart(generator, childIndex, out childIndex),
GeneratorDirection
.Forward, true);
597
using (generator.StartAt(startPos,
GeneratorDirection
.Forward, true))
839
using (generator.StartAt(IndexToGeneratorPositionForStart(generator, childIndex, out childIndex),
GeneratorDirection
.Forward, true))
971
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)
1196
SetAlternationIndex((RealizedItemBlock)block, offset,
GeneratorDirection
.Forward);
1323
internal Generator(ItemContainerGenerator factory, GeneratorPosition position,
GeneratorDirection
direction, bool allowStartAtRealizedItem)
1373
int incr = (_direction ==
GeneratorDirection
.Forward) ? +1 : -1;
1444
if (_direction ==
GeneratorDirection
.Forward)
1574
GeneratorDirection
_direction;
1629
void MoveToPosition(GeneratorPosition position,
GeneratorDirection
direction, bool allowStartAtRealizedItem, ref GeneratorState state)
1671
offset = (direction ==
GeneratorDirection
.Forward) ? 1 : -1;
1826
void SetAlternationIndex(ItemBlock block, int offset,
GeneratorDirection
direction)
1837
if (direction !=
GeneratorDirection
.Backward)
2551
SetAlternationIndex(block, offsetFromBlockStart,
GeneratorDirection
.Forward);
2760
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)
406
using (generator.StartAt(pos,
GeneratorDirection
.Forward))
461
using (generator.StartAt(pos,
GeneratorDirection
.Forward, true))
System\Windows\Controls\VirtualizingStackPanel.cs (4)
1699
using (generator.StartAt(position,
GeneratorDirection
.Forward, true))
2423
using (generator.StartAt(startPos,
GeneratorDirection
.Backward, true))
2726
using (generator.StartAt(startPos,
GeneratorDirection
.Forward, true))
8969
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))