19 instantiations of GeneratorPosition
PresentationFramework (19)
src\Framework\System\Windows\Controls\DataGridCellsPanel.cs (3)
524
GeneratorPosition position = (generator != null) ? generator.GeneratorPositionFromIndex(index) : new
GeneratorPosition
(-1, index + 1);
1157
GeneratorPosition position = new
GeneratorPosition
(startIndex, 0);
1165
generator.Remove(new
GeneratorPosition
(startIndex, 0), count);
src\Framework\System\Windows\Controls\ItemContainerGenerator.cs (9)
2146
position = new
GeneratorPosition
(-1, 0);
2169
position = new
GeneratorPosition
(containerIndex + offsetFromBlockStart, 0);
2174
position = new
GeneratorPosition
(containerIndex-1, offsetFromBlockStart+1);
2188
position = new
GeneratorPosition
(-1, 0);
2208
position = new
GeneratorPosition
(containerIndex + offsetFromBlockStart, 0);
2257
position = new
GeneratorPosition
(containerIndex-1, 1);
2470
GeneratorPosition position = new
GeneratorPosition
(-1,0);
2685
position = new
GeneratorPosition
(-1,0);
2786
GeneratorPosition position = new
GeneratorPosition
(0, 0);
src\Framework\System\Windows\Controls\Panel.cs (1)
668
using (generator.StartAt(new
GeneratorPosition
(-1, 0), GeneratorDirection.Forward))
src\Framework\System\Windows\Controls\Primitives\ItemsChangedEventArgs.cs (1)
48
int itemUICount) : this(action, position, new
GeneratorPosition
(-1, 0), itemCount, itemUICount)
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (5)
8737
GeneratorPosition position = new
GeneratorPosition
(childIndex, 0);
9179
GeneratorPosition position = (generator != null) ? generator.GeneratorPositionFromIndex(index) : new
GeneratorPosition
(-1, index + 1);
9325
((IRecyclingItemContainerGenerator)generator).Recycle(new
GeneratorPosition
(startIndex, 0), count);
9347
generator.Remove(new
GeneratorPosition
(startIndex, 0), count);
11125
return Generator.IndexFromGeneratorPosition(new
GeneratorPosition
(childIndex, 0));
65 references to GeneratorPosition
PresentationFramework (65)
src\Framework\System\Windows\Controls\DataGridCellsPanel.cs (5)
522
private static
GeneratorPosition
IndexToGeneratorPositionForStart(IItemContainerGenerator generator, int index, out int childIndex)
524
GeneratorPosition
position = (generator != null) ? generator.GeneratorPositionFromIndex(index) : new GeneratorPosition(-1, index + 1);
601
GeneratorPosition
startPos = IndexToGeneratorPositionForStart(generator, startIndex, out childIndex);
1157
GeneratorPosition
position = new GeneratorPosition(startIndex, 0);
2089
private void RemoveChildRange(
GeneratorPosition
position, int itemCount, int itemUICount)
src\Framework\System\Windows\Controls\ItemContainerGenerator.cs (23)
200
IDisposable IItemContainerGenerator.StartAt(
GeneratorPosition
position, GeneratorDirection direction)
213
IDisposable IItemContainerGenerator.StartAt(
GeneratorPosition
position, GeneratorDirection direction, bool allowStartAtRealizedItem)
270
void IItemContainerGenerator.Remove(
GeneratorPosition
position, int count)
278
private void Remove(
GeneratorPosition
position, int count, bool isRecycling)
500
void IRecyclingItemContainerGenerator.Recycle(
GeneratorPosition
position, int count)
508
GeneratorPosition
IItemContainerGenerator.GeneratorPositionFromIndex(int itemIndex)
510
GeneratorPosition
position;
525
int IItemContainerGenerator.IndexFromGeneratorPosition(
GeneratorPosition
position)
1337
internal Generator(ItemContainerGenerator factory,
GeneratorPosition
position, GeneratorDirection direction, bool allowStartAtRealizedItem)
1643
void MoveToPosition(
GeneratorPosition
position, GeneratorDirection direction, bool allowStartAtRealizedItem, ref GeneratorState state)
2087
GeneratorPosition
position = PositionFromIndex(ItemsInternal.IndexOf(group));
2097
GeneratorPosition
position = PositionFromIndex(ItemsInternal.IndexOf(group));
2118
GeneratorPosition
PositionFromIndex(int itemIndex)
2120
GeneratorPosition
position;
2130
void GetBlockAndPosition(object item, int itemIndex, bool deletedFromItems, out
GeneratorPosition
position, out ItemBlock block, out int offsetFromBlockStart, out int correctIndex)
2144
void GetBlockAndPosition(int itemIndex, out
GeneratorPosition
position, out ItemBlock block, out int offsetFromBlockStart)
2182
void GetBlockAndPosition(object item, bool deletedFromItems, out
GeneratorPosition
position, out ItemBlock block, out int offsetFromBlockStart, out int correctIndex)
2470
GeneratorPosition
position = new GeneratorPosition(-1,0);
2545
GeneratorPosition
position;
2606
GeneratorPosition
position;
2661
GeneratorPosition
position;
2667
GeneratorPosition
oldPosition = position;
2786
GeneratorPosition
position = new GeneratorPosition(0, 0);
src\Framework\System\Windows\Controls\Panel.cs (5)
721
private void AddChildren(
GeneratorPosition
pos, int itemCount)
744
private void RemoveChildren(
GeneratorPosition
pos, int containerCount)
750
private void ReplaceChildren(
GeneratorPosition
pos, int itemCount, int containerCount)
777
private void MoveChildren(
GeneratorPosition
fromPos,
GeneratorPosition
toPos, int containerCount)
src\Framework\System\Windows\Controls\Primitives\IItemContainerGenerator.cs (12)
39
IDisposable StartAt(
GeneratorPosition
position, GeneratorDirection direction);
49
IDisposable StartAt(
GeneratorPosition
position, GeneratorDirection direction, bool allowStartAtRealizedItem);
98
void Remove(
GeneratorPosition
position, int count);
103
GeneratorPosition
GeneratorPositionFromIndex(int itemIndex);
108
int IndexFromGeneratorPosition(
GeneratorPosition
position);
165
if (o is
GeneratorPosition
)
167
GeneratorPosition
that = (
GeneratorPosition
)o;
176
public static bool operator==(
GeneratorPosition
gp1,
GeneratorPosition
gp2)
184
public static bool operator!=(
GeneratorPosition
gp1,
GeneratorPosition
gp2)
src\Framework\System\Windows\Controls\Primitives\IRecyclingItemContainerGenerator.cs (1)
38
void Recycle(
GeneratorPosition
position, int count);
src\Framework\System\Windows\Controls\Primitives\ItemsChangedEventArgs.cs (7)
33
GeneratorPosition
position,
34
GeneratorPosition
oldPosition,
46
GeneratorPosition
position,
63
public
GeneratorPosition
Position { get { return _position; } }
66
public
GeneratorPosition
OldPosition { get { return _oldPosition; } }
82
GeneratorPosition
_position;
83
GeneratorPosition
_oldPosition;
src\Framework\System\Windows\Controls\Primitives\ToolBarPanel.cs (5)
413
private void AddChildren(
GeneratorPosition
pos, int itemCount)
456
private void RemoveChildren(
GeneratorPosition
pos, int containerCount)
466
private void ReplaceChildren(
GeneratorPosition
pos, int itemCount, int containerCount)
497
private void MoveChildren(
GeneratorPosition
fromPos,
GeneratorPosition
toPos, int containerCount)
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (7)
1654
GeneratorPosition
position = IndexToGeneratorPositionForStart(itemIndex, out childIndex);
2326
GeneratorPosition
startPos;
8737
GeneratorPosition
position = new GeneratorPosition(childIndex, 0);
8838
private void RemoveChildRange(
GeneratorPosition
position, int itemCount, int itemUICount)
9079
GeneratorPosition
position = Generator.GeneratorPositionFromIndex(dataIndex);
9176
private
GeneratorPosition
IndexToGeneratorPositionForStart(int index, out int childIndex)
9179
GeneratorPosition
position = (generator != null) ? generator.GeneratorPositionFromIndex(index) : new GeneratorPosition(-1, index + 1);