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