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