42 references to Generator
PresentationFramework (42)
System\Windows\Controls\Primitives\ToolBarPanel.cs (5)
405IItemContainerGenerator generator = (IItemContainerGenerator)Generator; 418ItemContainerGenerator icg = Generator as ItemContainerGenerator; 460IItemContainerGenerator generator = (IItemContainerGenerator)Generator; 477ItemContainerGenerator icg = Generator as ItemContainerGenerator; 492IItemContainerGenerator generator = (IItemContainerGenerator)Generator;
System\Windows\Controls\VirtualizingPanel.cs (1)
397return Generator;
System\Windows\Controls\VirtualizingStackPanel.cs (36)
1635ItemContainerGenerator generator = (ItemContainerGenerator)Generator; 1695IItemContainerGenerator generator = Generator; 2237IItemContainerGenerator generator = Generator; 3358IItemContainerGenerator generator = Generator; 3557"stpos:", args.Position, Generator.IndexFromGeneratorPosition(args.Position), 3558"oldpos:", args.OldPosition, Generator.IndexFromGeneratorPosition(args.OldPosition), 3654int startIndex = Generator.IndexFromGeneratorPosition(args.Position); 3669int startIndex = Generator.IndexFromGeneratorPosition(args.Position); 3678int startIndex = Generator.IndexFromGeneratorPosition(args.Position); 3679int startOldIndex = Generator.IndexFromGeneratorPosition(args.OldPosition); 3712int startIndex = Generator.IndexFromGeneratorPosition(args.Position); 3806IItemContainerGenerator generator = Generator; 4069IItemContainerGenerator generator = Generator; 6323ItemContainerGenerator generator = (ItemContainerGenerator)Generator; 6354ItemContainerGenerator 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; 9556return((ItemContainerGenerator)Generator).ItemsInternal.Count; 11011ItemContainerGenerator generator = (ItemContainerGenerator)Generator; 11110items = ((ItemContainerGenerator)itemsHost.Generator).ItemsInternal; 11111childItemIndex = ((ItemContainerGenerator)itemsHost.Generator).IndexFromContainer(child, returnLocalIndex); 11258return Generator.IndexFromGeneratorPosition(new GeneratorPosition(childIndex, 0)); 13026ItemContainerGenerator g = Generator as ItemContainerGenerator; 13054ItemContainerGenerator g = Generator as ItemContainerGenerator; 13059ItemContainerGenerator g = vsp.Generator as ItemContainerGenerator;