30 references to GeneratorDirection
PresentationFramework (28)
System\Windows\Controls\DataGridCellsPanel.cs (4)
540
generatorState = generator.StartAt(IndexToGeneratorPositionForStart(generator, childIndex, out childIndex),
GeneratorDirection
.Forward, true);
595
using (generator.StartAt(startPos,
GeneratorDirection
.Forward, true))
837
using (generator.StartAt(IndexToGeneratorPositionForStart(generator, childIndex, out childIndex),
GeneratorDirection
.Forward, true))
969
using (((IItemContainerGenerator)generator).StartAt(IndexToGeneratorPositionForStart(generator, childIndex, out childIndex),
GeneratorDirection
.Forward, true))
System\Windows\Controls\ItemContainerGenerator.cs (13)
191
IDisposable IItemContainerGenerator.StartAt(GeneratorPosition position,
GeneratorDirection
direction)
204
IDisposable IItemContainerGenerator.StartAt(GeneratorPosition position,
GeneratorDirection
direction, bool allowStartAtRealizedItem)
1192
SetAlternationIndex((RealizedItemBlock)block, offset,
GeneratorDirection
.Forward);
1319
internal Generator(ItemContainerGenerator factory, GeneratorPosition position,
GeneratorDirection
direction, bool allowStartAtRealizedItem)
1369
int incr = (_direction ==
GeneratorDirection
.Forward) ? +1 : -1;
1440
if (_direction ==
GeneratorDirection
.Forward)
1570
private
GeneratorDirection
_direction;
1625
private void MoveToPosition(GeneratorPosition position,
GeneratorDirection
direction, bool allowStartAtRealizedItem, ref GeneratorState state)
1667
offset = (direction ==
GeneratorDirection
.Forward) ? 1 : -1;
1822
private void SetAlternationIndex(ItemBlock block, int offset,
GeneratorDirection
direction)
1833
if (direction !=
GeneratorDirection
.Backward)
2547
SetAlternationIndex(block, offsetFromBlockStart,
GeneratorDirection
.Forward);
2758
SetAlternationIndex(block, offsetFromBlockStart,
GeneratorDirection
.Forward);
System\Windows\Controls\Panel.cs (3)
656
using (generator.StartAt(new GeneratorPosition(-1, 0),
GeneratorDirection
.Forward))
714
using (generator.StartAt(pos,
GeneratorDirection
.Forward))
744
using (generator.StartAt(pos,
GeneratorDirection
.Forward, true))
System\Windows\Controls\Primitives\IItemContainerGenerator.cs (2)
34
IDisposable StartAt(GeneratorPosition position,
GeneratorDirection
direction);
44
IDisposable StartAt(GeneratorPosition position,
GeneratorDirection
direction, bool allowStartAtRealizedItem);
System\Windows\Controls\Primitives\ToolBarPanel.cs (2)
404
using (generator.StartAt(pos,
GeneratorDirection
.Forward))
456
using (generator.StartAt(pos,
GeneratorDirection
.Forward, true))
System\Windows\Controls\VirtualizingStackPanel.cs (4)
1688
using (generator.StartAt(position,
GeneratorDirection
.Forward, true))
2411
using (generator.StartAt(startPos,
GeneratorDirection
.Backward, true))
2714
using (generator.StartAt(startPos,
GeneratorDirection
.Forward, true))
8947
using (Generator.StartAt(args.Position,
GeneratorDirection
.Forward, true))
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonQuickAccessToolBarPanel.cs (2)
35
using (Generator.StartAt(args.Position,
GeneratorDirection
.Forward, true))
140
using (Generator.StartAt(startPos,
GeneratorDirection
.Forward, true))