19 instantiations of GeneratorPosition
PresentationFramework (19)
System\Windows\Controls\DataGridCellsPanel.cs (3)
518
GeneratorPosition position = (generator != null) ? generator.GeneratorPositionFromIndex(index) : new
GeneratorPosition
(-1, index + 1);
1151
GeneratorPosition position = new
GeneratorPosition
(startIndex, 0);
1159
generator.Remove(new
GeneratorPosition
(startIndex, 0), count);
System\Windows\Controls\ItemContainerGenerator.cs (9)
2132
position = new
GeneratorPosition
(-1, 0);
2155
position = new
GeneratorPosition
(containerIndex + offsetFromBlockStart, 0);
2160
position = new
GeneratorPosition
(containerIndex-1, offsetFromBlockStart+1);
2174
position = new
GeneratorPosition
(-1, 0);
2194
position = new
GeneratorPosition
(containerIndex + offsetFromBlockStart, 0);
2243
position = new
GeneratorPosition
(containerIndex-1, 1);
2456
GeneratorPosition position = new
GeneratorPosition
(-1,0);
2671
position = new
GeneratorPosition
(-1,0);
2772
GeneratorPosition position = new
GeneratorPosition
(0, 0);
System\Windows\Controls\Panel.cs (1)
657
using (generator.StartAt(new
GeneratorPosition
(-1, 0), GeneratorDirection.Forward))
System\Windows\Controls\Primitives\ItemsChangedEventArgs.cs (1)
44
int itemUICount) : this(action, position, new
GeneratorPosition
(-1, 0), itemCount, itemUICount)
System\Windows\Controls\VirtualizingStackPanel.cs (5)
8890
GeneratorPosition position = new
GeneratorPosition
(childIndex, 0);
9328
GeneratorPosition position = (generator != null) ? generator.GeneratorPositionFromIndex(index) : new
GeneratorPosition
(-1, index + 1);
9474
((IRecyclingItemContainerGenerator)generator).Recycle(new
GeneratorPosition
(startIndex, 0), count);
9496
generator.Remove(new
GeneratorPosition
(startIndex, 0), count);
11258
return Generator.IndexFromGeneratorPosition(new
GeneratorPosition
(childIndex, 0));
66 references to GeneratorPosition
PresentationFramework (65)
System\Windows\Controls\DataGridCellsPanel.cs (5)
516
private static
GeneratorPosition
IndexToGeneratorPositionForStart(IItemContainerGenerator generator, int index, out int childIndex)
518
GeneratorPosition
position = (generator != null) ? generator.GeneratorPositionFromIndex(index) : new GeneratorPosition(-1, index + 1);
595
GeneratorPosition
startPos = IndexToGeneratorPositionForStart(generator, startIndex, out childIndex);
1151
GeneratorPosition
position = new GeneratorPosition(startIndex, 0);
2083
private void RemoveChildRange(
GeneratorPosition
position, int itemCount, int itemUICount)
System\Windows\Controls\ItemContainerGenerator.cs (23)
192
IDisposable IItemContainerGenerator.StartAt(
GeneratorPosition
position, GeneratorDirection direction)
205
IDisposable IItemContainerGenerator.StartAt(
GeneratorPosition
position, GeneratorDirection direction, bool allowStartAtRealizedItem)
262
void IItemContainerGenerator.Remove(
GeneratorPosition
position, int count)
270
private void Remove(
GeneratorPosition
position, int count, bool isRecycling)
491
void IRecyclingItemContainerGenerator.Recycle(
GeneratorPosition
position, int count)
499
GeneratorPosition
IItemContainerGenerator.GeneratorPositionFromIndex(int itemIndex)
501
GeneratorPosition
position;
516
int IItemContainerGenerator.IndexFromGeneratorPosition(
GeneratorPosition
position)
1323
internal Generator(ItemContainerGenerator factory,
GeneratorPosition
position, GeneratorDirection direction, bool allowStartAtRealizedItem)
1629
void MoveToPosition(
GeneratorPosition
position, GeneratorDirection direction, bool allowStartAtRealizedItem, ref GeneratorState state)
2073
GeneratorPosition
position = PositionFromIndex(ItemsInternal.IndexOf(group));
2083
GeneratorPosition
position = PositionFromIndex(ItemsInternal.IndexOf(group));
2104
GeneratorPosition
PositionFromIndex(int itemIndex)
2106
GeneratorPosition
position;
2116
void GetBlockAndPosition(object item, int itemIndex, bool deletedFromItems, out
GeneratorPosition
position, out ItemBlock block, out int offsetFromBlockStart, out int correctIndex)
2130
void GetBlockAndPosition(int itemIndex, out
GeneratorPosition
position, out ItemBlock block, out int offsetFromBlockStart)
2168
void GetBlockAndPosition(object item, bool deletedFromItems, out
GeneratorPosition
position, out ItemBlock block, out int offsetFromBlockStart, out int correctIndex)
2456
GeneratorPosition
position = new GeneratorPosition(-1,0);
2531
GeneratorPosition
position;
2592
GeneratorPosition
position;
2647
GeneratorPosition
position;
2653
GeneratorPosition
oldPosition = position;
2772
GeneratorPosition
position = new GeneratorPosition(0, 0);
System\Windows\Controls\Panel.cs (5)
710
private void AddChildren(
GeneratorPosition
pos, int itemCount)
733
private void RemoveChildren(
GeneratorPosition
pos, int containerCount)
739
private void ReplaceChildren(
GeneratorPosition
pos, int itemCount, int containerCount)
766
private void MoveChildren(
GeneratorPosition
fromPos,
GeneratorPosition
toPos, int containerCount)
System\Windows\Controls\Primitives\IItemContainerGenerator.cs (12)
35
IDisposable StartAt(
GeneratorPosition
position, GeneratorDirection direction);
45
IDisposable StartAt(
GeneratorPosition
position, GeneratorDirection direction, bool allowStartAtRealizedItem);
94
void Remove(
GeneratorPosition
position, int count);
99
GeneratorPosition
GeneratorPositionFromIndex(int itemIndex);
104
int IndexFromGeneratorPosition(
GeneratorPosition
position);
161
if (o is
GeneratorPosition
)
163
GeneratorPosition
that = (
GeneratorPosition
)o;
172
public static bool operator==(
GeneratorPosition
gp1,
GeneratorPosition
gp2)
180
public static bool operator!=(
GeneratorPosition
gp1,
GeneratorPosition
gp2)
System\Windows\Controls\Primitives\IRecyclingItemContainerGenerator.cs (1)
34
void Recycle(
GeneratorPosition
position, int count);
System\Windows\Controls\Primitives\ItemsChangedEventArgs.cs (7)
29
GeneratorPosition
position,
30
GeneratorPosition
oldPosition,
42
GeneratorPosition
position,
59
public
GeneratorPosition
Position { get { return _position; } }
62
public
GeneratorPosition
OldPosition { get { return _oldPosition; } }
78
GeneratorPosition
_position;
79
GeneratorPosition
_oldPosition;
System\Windows\Controls\Primitives\ToolBarPanel.cs (5)
403
private void AddChildren(
GeneratorPosition
pos, int itemCount)
446
private void RemoveChildren(
GeneratorPosition
pos, int containerCount)
456
private void ReplaceChildren(
GeneratorPosition
pos, int itemCount, int containerCount)
487
private void MoveChildren(
GeneratorPosition
fromPos,
GeneratorPosition
toPos, int containerCount)
System\Windows\Controls\VirtualizingStackPanel.cs (7)
1698
GeneratorPosition
position = IndexToGeneratorPositionForStart(itemIndex, out childIndex);
2371
GeneratorPosition
startPos;
8890
GeneratorPosition
position = new GeneratorPosition(childIndex, 0);
8991
private void RemoveChildRange(
GeneratorPosition
position, int itemCount, int itemUICount)
9231
GeneratorPosition
position = Generator.GeneratorPositionFromIndex(dataIndex);
9325
private
GeneratorPosition
IndexToGeneratorPositionForStart(int index, out int childIndex)
9328
GeneratorPosition
position = (generator != null) ? generator.GeneratorPositionFromIndex(index) : new GeneratorPosition(-1, index + 1);
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonQuickAccessToolBarPanel.cs (1)
138
GeneratorPosition
startPos = Generator.GeneratorPositionFromIndex(0);