42 references to Generator
PresentationFramework (42)
System\Windows\Controls\Primitives\ToolBarPanel.cs (5)
407
IItemContainerGenerator generator = (IItemContainerGenerator)
Generator
;
420
ItemContainerGenerator icg =
Generator
as ItemContainerGenerator;
462
IItemContainerGenerator generator = (IItemContainerGenerator)
Generator
;
479
ItemContainerGenerator icg =
Generator
as ItemContainerGenerator;
494
IItemContainerGenerator generator = (IItemContainerGenerator)
Generator
;
System\Windows\Controls\VirtualizingPanel.cs (1)
397
return
Generator
;
System\Windows\Controls\VirtualizingStackPanel.cs (36)
1631
ItemContainerGenerator generator = (ItemContainerGenerator)
Generator
;
1691
IItemContainerGenerator generator =
Generator
;
2235
IItemContainerGenerator generator =
Generator
;
3356
IItemContainerGenerator generator =
Generator
;
3555
"stpos:", args.Position,
Generator
.IndexFromGeneratorPosition(args.Position),
3556
"oldpos:", args.OldPosition,
Generator
.IndexFromGeneratorPosition(args.OldPosition),
3652
int startIndex =
Generator
.IndexFromGeneratorPosition(args.Position);
3667
int startIndex =
Generator
.IndexFromGeneratorPosition(args.Position);
3676
int startIndex =
Generator
.IndexFromGeneratorPosition(args.Position);
3677
int startOldIndex =
Generator
.IndexFromGeneratorPosition(args.OldPosition);
3710
int startIndex =
Generator
.IndexFromGeneratorPosition(args.Position);
3804
IItemContainerGenerator generator =
Generator
;
4067
IItemContainerGenerator generator =
Generator
;
6321
ItemContainerGenerator generator = (ItemContainerGenerator)
Generator
;
6352
ItemContainerGenerator generator = (ItemContainerGenerator)
Generator
;
7535
itemStorageProvider.StoreItemValue(((ItemContainerGenerator)
Generator
).ItemFromContainer(child), ContainerSizeProperty, childSize);
7616
ItemContainerGenerator generator = (ItemContainerGenerator)
Generator
;
8850
Generator
.PrepareItemContainer(container);
8891
position =
Generator
.GeneratorPositionFromIndex(
Generator
.IndexFromGeneratorPosition(position) - 1);
8969
using (
Generator
.StartAt(args.Position, GeneratorDirection.Forward, true))
8975
UIElement child =
Generator
.GenerateNext(out newlyRealized) as UIElement;
8980
Generator
.PrepareItemContainer(child);
9143
CleanupRange(children,
Generator
, cleanupRangeStart, cleanupCount);
9185
CleanupRange(children,
Generator
, cleanupRangeStart, cleanupCount);
9214
System.Windows.Controls.ItemContainerGenerator generator =
Generator
as System.Windows.Controls.ItemContainerGenerator;
9231
GeneratorPosition position =
Generator
.GeneratorPositionFromIndex(dataIndex);
9327
IItemContainerGenerator generator =
Generator
;
9558
return((ItemContainerGenerator)
Generator
).ItemsInternal.Count;
11013
ItemContainerGenerator generator = (ItemContainerGenerator)
Generator
;
11112
items = ((ItemContainerGenerator)itemsHost.
Generator
).ItemsInternal;
11113
childItemIndex = ((ItemContainerGenerator)itemsHost.
Generator
).IndexFromContainer(child, returnLocalIndex);
11260
return
Generator
.IndexFromGeneratorPosition(new GeneratorPosition(childIndex, 0));
13023
ItemContainerGenerator g =
Generator
as ItemContainerGenerator;
13053
ItemContainerGenerator g =
Generator
as ItemContainerGenerator;
13058
ItemContainerGenerator g = vsp.
Generator
as ItemContainerGenerator;