19 instantiations of GeneratorPosition
PresentationFramework (19)
System\Windows\Controls\DataGridCellsPanel.cs (3)
522
GeneratorPosition position = (generator != null) ? generator.GeneratorPositionFromIndex(index) : new
GeneratorPosition
(-1, index + 1);
1155
GeneratorPosition position = new
GeneratorPosition
(startIndex, 0);
1163
generator.Remove(new
GeneratorPosition
(startIndex, 0), count);
System\Windows\Controls\ItemContainerGenerator.cs (9)
2138
position = new
GeneratorPosition
(-1, 0);
2161
position = new
GeneratorPosition
(containerIndex + offsetFromBlockStart, 0);
2166
position = new
GeneratorPosition
(containerIndex-1, offsetFromBlockStart+1);
2180
position = new
GeneratorPosition
(-1, 0);
2200
position = new
GeneratorPosition
(containerIndex + offsetFromBlockStart, 0);
2249
position = new
GeneratorPosition
(containerIndex-1, 1);
2462
GeneratorPosition position = new
GeneratorPosition
(-1,0);
2677
position = new
GeneratorPosition
(-1,0);
2778
GeneratorPosition position = new
GeneratorPosition
(0, 0);
System\Windows\Controls\Panel.cs (1)
664
using (generator.StartAt(new
GeneratorPosition
(-1, 0), GeneratorDirection.Forward))
System\Windows\Controls\Primitives\ItemsChangedEventArgs.cs (1)
46
int itemUICount) : this(action, position, new
GeneratorPosition
(-1, 0), itemCount, itemUICount)
System\Windows\Controls\VirtualizingStackPanel.cs (5)
8895
GeneratorPosition position = new
GeneratorPosition
(childIndex, 0);
9333
GeneratorPosition position = (generator != null) ? generator.GeneratorPositionFromIndex(index) : new
GeneratorPosition
(-1, index + 1);
9479
((IRecyclingItemContainerGenerator)generator).Recycle(new
GeneratorPosition
(startIndex, 0), count);
9501
generator.Remove(new
GeneratorPosition
(startIndex, 0), count);
11263
return Generator.IndexFromGeneratorPosition(new
GeneratorPosition
(childIndex, 0));
66 references to GeneratorPosition
PresentationFramework (65)
System\Windows\Controls\DataGridCellsPanel.cs (5)
520
private static
GeneratorPosition
IndexToGeneratorPositionForStart(IItemContainerGenerator generator, int index, out int childIndex)
522
GeneratorPosition
position = (generator != null) ? generator.GeneratorPositionFromIndex(index) : new GeneratorPosition(-1, index + 1);
599
GeneratorPosition
startPos = IndexToGeneratorPositionForStart(generator, startIndex, out childIndex);
1155
GeneratorPosition
position = new GeneratorPosition(startIndex, 0);
2087
private void RemoveChildRange(
GeneratorPosition
position, int itemCount, int itemUICount)
System\Windows\Controls\ItemContainerGenerator.cs (23)
198
IDisposable IItemContainerGenerator.StartAt(
GeneratorPosition
position, GeneratorDirection direction)
211
IDisposable IItemContainerGenerator.StartAt(
GeneratorPosition
position, GeneratorDirection direction, bool allowStartAtRealizedItem)
268
void IItemContainerGenerator.Remove(
GeneratorPosition
position, int count)
276
private void Remove(
GeneratorPosition
position, int count, bool isRecycling)
497
void IRecyclingItemContainerGenerator.Recycle(
GeneratorPosition
position, int count)
505
GeneratorPosition
IItemContainerGenerator.GeneratorPositionFromIndex(int itemIndex)
507
GeneratorPosition
position;
522
int IItemContainerGenerator.IndexFromGeneratorPosition(
GeneratorPosition
position)
1329
internal Generator(ItemContainerGenerator factory,
GeneratorPosition
position, GeneratorDirection direction, bool allowStartAtRealizedItem)
1635
void MoveToPosition(
GeneratorPosition
position, GeneratorDirection direction, bool allowStartAtRealizedItem, ref GeneratorState state)
2079
GeneratorPosition
position = PositionFromIndex(ItemsInternal.IndexOf(group));
2089
GeneratorPosition
position = PositionFromIndex(ItemsInternal.IndexOf(group));
2110
GeneratorPosition
PositionFromIndex(int itemIndex)
2112
GeneratorPosition
position;
2122
void GetBlockAndPosition(object item, int itemIndex, bool deletedFromItems, out
GeneratorPosition
position, out ItemBlock block, out int offsetFromBlockStart, out int correctIndex)
2136
void GetBlockAndPosition(int itemIndex, out
GeneratorPosition
position, out ItemBlock block, out int offsetFromBlockStart)
2174
void GetBlockAndPosition(object item, bool deletedFromItems, out
GeneratorPosition
position, out ItemBlock block, out int offsetFromBlockStart, out int correctIndex)
2462
GeneratorPosition
position = new GeneratorPosition(-1,0);
2537
GeneratorPosition
position;
2598
GeneratorPosition
position;
2653
GeneratorPosition
position;
2659
GeneratorPosition
oldPosition = position;
2778
GeneratorPosition
position = new GeneratorPosition(0, 0);
System\Windows\Controls\Panel.cs (5)
717
private void AddChildren(
GeneratorPosition
pos, int itemCount)
740
private void RemoveChildren(
GeneratorPosition
pos, int containerCount)
746
private void ReplaceChildren(
GeneratorPosition
pos, int itemCount, int containerCount)
773
private void MoveChildren(
GeneratorPosition
fromPos,
GeneratorPosition
toPos, int containerCount)
System\Windows\Controls\Primitives\IItemContainerGenerator.cs (12)
37
IDisposable StartAt(
GeneratorPosition
position, GeneratorDirection direction);
47
IDisposable StartAt(
GeneratorPosition
position, GeneratorDirection direction, bool allowStartAtRealizedItem);
96
void Remove(
GeneratorPosition
position, int count);
101
GeneratorPosition
GeneratorPositionFromIndex(int itemIndex);
106
int IndexFromGeneratorPosition(
GeneratorPosition
position);
163
if (o is
GeneratorPosition
)
165
GeneratorPosition
that = (
GeneratorPosition
)o;
174
public static bool operator==(
GeneratorPosition
gp1,
GeneratorPosition
gp2)
182
public static bool operator!=(
GeneratorPosition
gp1,
GeneratorPosition
gp2)
System\Windows\Controls\Primitives\IRecyclingItemContainerGenerator.cs (1)
36
void Recycle(
GeneratorPosition
position, int count);
System\Windows\Controls\Primitives\ItemsChangedEventArgs.cs (7)
31
GeneratorPosition
position,
32
GeneratorPosition
oldPosition,
44
GeneratorPosition
position,
61
public
GeneratorPosition
Position { get { return _position; } }
64
public
GeneratorPosition
OldPosition { get { return _oldPosition; } }
80
GeneratorPosition
_position;
81
GeneratorPosition
_oldPosition;
System\Windows\Controls\Primitives\ToolBarPanel.cs (5)
412
private void AddChildren(
GeneratorPosition
pos, int itemCount)
455
private void RemoveChildren(
GeneratorPosition
pos, int containerCount)
465
private void ReplaceChildren(
GeneratorPosition
pos, int itemCount, int containerCount)
496
private void MoveChildren(
GeneratorPosition
fromPos,
GeneratorPosition
toPos, int containerCount)
System\Windows\Controls\VirtualizingStackPanel.cs (7)
1703
GeneratorPosition
position = IndexToGeneratorPositionForStart(itemIndex, out childIndex);
2376
GeneratorPosition
startPos;
8895
GeneratorPosition
position = new GeneratorPosition(childIndex, 0);
8996
private void RemoveChildRange(
GeneratorPosition
position, int itemCount, int itemUICount)
9236
GeneratorPosition
position = Generator.GeneratorPositionFromIndex(dataIndex);
9330
private
GeneratorPosition
IndexToGeneratorPositionForStart(int index, out int childIndex)
9333
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)
144
GeneratorPosition
startPos = Generator.GeneratorPositionFromIndex(0);