3 instantiations of ItemContainerGenerator
PresentationFramework (3)
System\Windows\Controls\ItemContainerGenerator.cs (2)
1932groupItem.Generator = new ItemContainerGenerator(this, groupItem); 2060emptyGroupItem.SetGenerator(new ItemContainerGenerator(this, emptyGroupItem));
System\Windows\Controls\ItemsControl.cs (1)
127_itemContainerGenerator = new ItemContainerGenerator(this);
76 references to ItemContainerGenerator
PresentationFramework (75)
MS\Internal\Data\ObjectRef.cs (1)
373o = el.GetValue(ItemContainerGenerator.ItemForItemContainerProperty);
MS\Internal\Helper.cs (1)
929else if (container != container.GetValue(ItemContainerGenerator.ItemForItemContainerProperty))
System\Windows\Automation\Peers\GroupItemAutomationPeer.cs (2)
54CollectionViewGroupInternal group = groupItem.GetValue(ItemContainerGenerator.ItemForItemContainerProperty) as CollectionViewGroupInternal; 83CollectionViewGroupInternal group = groupItem.GetValue(ItemContainerGenerator.ItemForItemContainerProperty) as CollectionViewGroupInternal;
System\Windows\Automation\Peers\ItemsControlAutomationPeer.cs (2)
775ItemContainerGenerator.LinkContainerToItem(_container, _item); 783ItemContainerGenerator.UnlinkContainerFromItem(_container, _item, _itemsControl);
System\Windows\Controls\DataGridCellsPanel.cs (2)
892ItemContainerGenerator generator = parentPresenter.ItemContainerGenerator; 957ItemContainerGenerator generator,
System\Windows\Controls\GroupItem.cs (3)
140internal ItemContainerGenerator Generator 178ItemContainerGenerator generator = Generator.Parent; 470ItemContainerGenerator _generator;
System\Windows\Controls\ItemContainerGenerator.cs (14)
60private ItemContainerGenerator(ItemContainerGenerator parent, GroupItem groupItem) 65private ItemContainerGenerator(ItemContainerGenerator parent, IGeneratorHost host, DependencyObject peer, int level) 172ItemContainerGenerator IItemContainerGenerator.GetItemContainerGeneratorForPanel(Panel panel) 1228internal ItemContainerGenerator Parent 1293DependencyProperty.RegisterAttached("ItemForItemContainer", typeof(object), typeof(ItemContainerGenerator), 1329internal Generator(ItemContainerGenerator factory, GeneratorPosition position, GeneratorDirection direction, bool allowStartAtRealizedItem) 1432ItemContainerGenerator.LinkContainerToItem(container, item); 1579ItemContainerGenerator _factory; 1587public BatchGenerator(ItemContainerGenerator factory) 1605ItemContainerGenerator _factory; 2800private ItemContainerGenerator _parent; 3099public void SetGenerator(ItemContainerGenerator generator) 3107CollectionViewGroup group = (CollectionViewGroup)GetValue(ItemContainerGenerator.ItemForItemContainerProperty); 3112ItemContainerGenerator generator = Generator;
System\Windows\Controls\ItemsControl.cs (5)
262public ItemContainerGenerator ItemContainerGenerator 1237if (element.ContainsValue(ItemContainerGenerator.ItemForItemContainerProperty)) 3649container.ReadLocalValue(ItemContainerGenerator.ItemForItemContainerProperty))) 3932internal ItemInfo Refresh(ItemContainerGenerator generator) 4037private ItemContainerGenerator _itemContainerGenerator;
System\Windows\Controls\ItemsPresenter.cs (4)
95internal ItemContainerGenerator Generator 211ItemContainerGenerator generator; 261void UseGenerator(ItemContainerGenerator generator) 342ItemContainerGenerator _generator;
System\Windows\Controls\Panel.cs (1)
853private ItemContainerGenerator _itemContainerGenerator;
System\Windows\Controls\Primitives\IItemContainerGenerator.cs (1)
27ItemContainerGenerator GetItemContainerGeneratorForPanel(Panel panel);
System\Windows\Controls\Primitives\ToolBarPanel.cs (4)
427ItemContainerGenerator icg = Generator as ItemContainerGenerator; 486ItemContainerGenerator icg = Generator as ItemContainerGenerator;
System\Windows\Controls\VirtualizingStackPanel.cs (35)
1640ItemContainerGenerator generator = (ItemContainerGenerator)Generator; 2243IList items = ((ItemContainerGenerator)generator).ItemsInternal; 2389using (((ItemContainerGenerator)generator).GenerateBatches()) 3364IList items = ((ItemContainerGenerator)generator).ItemsInternal; 3763int index = ((ItemContainerGenerator)generator).IndexFromContainer(itemsOwner, true /*returnLocalIndex*/); 3812IList items = ((ItemContainerGenerator)generator).ItemsInternal; 6328ItemContainerGenerator generator = (ItemContainerGenerator)Generator; 6359ItemContainerGenerator generator = (ItemContainerGenerator)Generator; 6601return container.ReadLocalValue(System.Windows.Controls.ItemContainerGenerator.ItemForItemContainerProperty); 7540itemStorageProvider.StoreItemValue(((ItemContainerGenerator)Generator).ItemFromContainer(child), ContainerSizeProperty, childSize); 7621ItemContainerGenerator generator = (ItemContainerGenerator)Generator; 8102object item = ((ItemContainerGenerator)generator).ItemFromContainer((UIElement)children[childIndex]); 8216ItemContainerGenerator icg; 8217if (child == null && (icg = generator as ItemContainerGenerator) != null) 8620int currChildItemIndex = ((ItemContainerGenerator)generator).IndexFromContainer(child, true /*returnLocalIndex*/); 8673int currChildItemIndex = ((ItemContainerGenerator)generator).IndexFromContainer(child, true /*returnLocalIndex*/); 9219System.Windows.Controls.ItemContainerGenerator generator = Generator as System.Windows.Controls.ItemContainerGenerator; 9561return((ItemContainerGenerator)Generator).ItemsInternal.Count; 11016ItemContainerGenerator generator = (ItemContainerGenerator)Generator; 11115items = ((ItemContainerGenerator)itemsHost.Generator).ItemsInternal; 11116childItemIndex = ((ItemContainerGenerator)itemsHost.Generator).IndexFromContainer(child, returnLocalIndex); 12191ItemContainerGenerator generator = parent.ItemContainerGenerator as ItemContainerGenerator; 13031ItemContainerGenerator g = Generator as ItemContainerGenerator; 13059ItemContainerGenerator g = Generator as ItemContainerGenerator; 13064ItemContainerGenerator g = vsp.Generator as ItemContainerGenerator;
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\RibbonControl.cs (1)
79ItemContainerGenerator.ItemForItemContainerProperty.AddOwner(typeof(RibbonControl));