3 instantiations of ItemContainerGenerator
PresentationFramework (3)
System\Windows\Controls\ItemContainerGenerator.cs (2)
1926groupItem.Generator = new ItemContainerGenerator(this, groupItem); 2054emptyGroupItem.SetGenerator(new ItemContainerGenerator(this, emptyGroupItem));
System\Windows\Controls\ItemsControl.cs (1)
118_itemContainerGenerator = new ItemContainerGenerator(this);
76 references to ItemContainerGenerator
PresentationFramework (75)
MS\Internal\Data\ObjectRef.cs (1)
367o = el.GetValue(ItemContainerGenerator.ItemForItemContainerProperty);
MS\Internal\Helper.cs (1)
920else if (container != container.GetValue(ItemContainerGenerator.ItemForItemContainerProperty))
System\Windows\Automation\Peers\GroupItemAutomationPeer.cs (2)
42CollectionViewGroupInternal group = groupItem.GetValue(ItemContainerGenerator.ItemForItemContainerProperty) as CollectionViewGroupInternal; 71CollectionViewGroupInternal group = groupItem.GetValue(ItemContainerGenerator.ItemForItemContainerProperty) as CollectionViewGroupInternal;
System\Windows\Automation\Peers\ItemsControlAutomationPeer.cs (2)
763ItemContainerGenerator.LinkContainerToItem(_container, _item); 771ItemContainerGenerator.UnlinkContainerFromItem(_container, _item, _itemsControl);
System\Windows\Controls\DataGridCellsPanel.cs (2)
888ItemContainerGenerator generator = parentPresenter.ItemContainerGenerator; 953ItemContainerGenerator generator,
System\Windows\Controls\GroupItem.cs (3)
132internal ItemContainerGenerator Generator 170ItemContainerGenerator generator = Generator.Parent; 462ItemContainerGenerator _generator;
System\Windows\Controls\ItemContainerGenerator.cs (14)
54private ItemContainerGenerator(ItemContainerGenerator parent, GroupItem groupItem) 59private ItemContainerGenerator(ItemContainerGenerator parent, IGeneratorHost host, DependencyObject peer, int level) 166ItemContainerGenerator IItemContainerGenerator.GetItemContainerGeneratorForPanel(Panel panel) 1222internal ItemContainerGenerator Parent 1287DependencyProperty.RegisterAttached("ItemForItemContainer", typeof(object), typeof(ItemContainerGenerator), 1323internal Generator(ItemContainerGenerator factory, GeneratorPosition position, GeneratorDirection direction, bool allowStartAtRealizedItem) 1426ItemContainerGenerator.LinkContainerToItem(container, item); 1573ItemContainerGenerator _factory; 1581public BatchGenerator(ItemContainerGenerator factory) 1599ItemContainerGenerator _factory; 2794private ItemContainerGenerator _parent; 3093public void SetGenerator(ItemContainerGenerator generator) 3101CollectionViewGroup group = (CollectionViewGroup)GetValue(ItemContainerGenerator.ItemForItemContainerProperty); 3106ItemContainerGenerator generator = Generator;
System\Windows\Controls\ItemsControl.cs (5)
253public ItemContainerGenerator ItemContainerGenerator 1228if (element.ContainsValue(ItemContainerGenerator.ItemForItemContainerProperty)) 3640container.ReadLocalValue(ItemContainerGenerator.ItemForItemContainerProperty))) 3923internal ItemInfo Refresh(ItemContainerGenerator generator) 4028private ItemContainerGenerator _itemContainerGenerator;
System\Windows\Controls\ItemsPresenter.cs (4)
91internal ItemContainerGenerator Generator 207ItemContainerGenerator generator; 257void UseGenerator(ItemContainerGenerator generator) 338ItemContainerGenerator _generator;
System\Windows\Controls\Panel.cs (1)
846private ItemContainerGenerator _itemContainerGenerator;
System\Windows\Controls\Primitives\IItemContainerGenerator.cs (1)
25ItemContainerGenerator GetItemContainerGeneratorForPanel(Panel panel);
System\Windows\Controls\Primitives\ToolBarPanel.cs (4)
418ItemContainerGenerator icg = Generator as ItemContainerGenerator; 477ItemContainerGenerator icg = Generator as ItemContainerGenerator;
System\Windows\Controls\VirtualizingStackPanel.cs (35)
1635ItemContainerGenerator generator = (ItemContainerGenerator)Generator; 2238IList items = ((ItemContainerGenerator)generator).ItemsInternal; 2384using (((ItemContainerGenerator)generator).GenerateBatches()) 3359IList items = ((ItemContainerGenerator)generator).ItemsInternal; 3758int index = ((ItemContainerGenerator)generator).IndexFromContainer(itemsOwner, true /*returnLocalIndex*/); 3807IList items = ((ItemContainerGenerator)generator).ItemsInternal; 6323ItemContainerGenerator generator = (ItemContainerGenerator)Generator; 6354ItemContainerGenerator generator = (ItemContainerGenerator)Generator; 6596return container.ReadLocalValue(System.Windows.Controls.ItemContainerGenerator.ItemForItemContainerProperty); 7535itemStorageProvider.StoreItemValue(((ItemContainerGenerator)Generator).ItemFromContainer(child), ContainerSizeProperty, childSize); 7616ItemContainerGenerator generator = (ItemContainerGenerator)Generator; 8097object item = ((ItemContainerGenerator)generator).ItemFromContainer((UIElement)children[childIndex]); 8211ItemContainerGenerator icg; 8212if (child == null && (icg = generator as ItemContainerGenerator) != null) 8615int currChildItemIndex = ((ItemContainerGenerator)generator).IndexFromContainer(child, true /*returnLocalIndex*/); 8668int currChildItemIndex = ((ItemContainerGenerator)generator).IndexFromContainer(child, true /*returnLocalIndex*/); 9214System.Windows.Controls.ItemContainerGenerator generator = Generator as System.Windows.Controls.ItemContainerGenerator; 9556return((ItemContainerGenerator)Generator).ItemsInternal.Count; 11011ItemContainerGenerator generator = (ItemContainerGenerator)Generator; 11110items = ((ItemContainerGenerator)itemsHost.Generator).ItemsInternal; 11111childItemIndex = ((ItemContainerGenerator)itemsHost.Generator).IndexFromContainer(child, returnLocalIndex); 12186ItemContainerGenerator generator = parent.ItemContainerGenerator as ItemContainerGenerator; 13026ItemContainerGenerator g = Generator as ItemContainerGenerator; 13054ItemContainerGenerator g = Generator as ItemContainerGenerator; 13059ItemContainerGenerator g = vsp.Generator as ItemContainerGenerator;
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\RibbonControl.cs (1)
75ItemContainerGenerator.ItemForItemContainerProperty.AddOwner(typeof(RibbonControl));