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