3 instantiations of ItemContainerGenerator
PresentationFramework (3)
src\Framework\System\Windows\Controls\ItemContainerGenerator.cs (2)
1940
groupItem.Generator = new
ItemContainerGenerator
(this, groupItem);
2068
emptyGroupItem.SetGenerator(new
ItemContainerGenerator
(this, emptyGroupItem));
src\Framework\System\Windows\Controls\ItemsControl.cs (1)
128
_itemContainerGenerator = new
ItemContainerGenerator
(this);
75 references to ItemContainerGenerator
PresentationFramework (75)
src\Framework\MS\Internal\Data\ObjectRef.cs (1)
383
o = el.GetValue(
ItemContainerGenerator
.ItemForItemContainerProperty);
src\Framework\MS\Internal\Helper.cs (1)
944
else if (container != container.GetValue(
ItemContainerGenerator
.ItemForItemContainerProperty))
src\Framework\System\Windows\Automation\Peers\GroupItemAutomationPeer.cs (2)
50
CollectionViewGroupInternal group = groupItem.GetValue(
ItemContainerGenerator
.ItemForItemContainerProperty) as CollectionViewGroupInternal;
79
CollectionViewGroupInternal group = groupItem.GetValue(
ItemContainerGenerator
.ItemForItemContainerProperty) as CollectionViewGroupInternal;
src\Framework\System\Windows\Automation\Peers\ItemsControlAutomationPeer.cs (2)
781
ItemContainerGenerator
.LinkContainerToItem(_container, _item);
789
ItemContainerGenerator
.UnlinkContainerFromItem(_container, _item, _itemsControl);
src\Framework\System\Windows\Controls\DataGridCellsPanel.cs (2)
894
ItemContainerGenerator
generator = parentPresenter.ItemContainerGenerator;
959
ItemContainerGenerator
generator,
src\Framework\System\Windows\Controls\GroupItem.cs (3)
142
internal
ItemContainerGenerator
Generator
180
ItemContainerGenerator
generator = Generator.Parent;
472
ItemContainerGenerator
_generator;
src\Framework\System\Windows\Controls\ItemContainerGenerator.cs (14)
62
private ItemContainerGenerator(
ItemContainerGenerator
parent, GroupItem groupItem)
67
private ItemContainerGenerator(
ItemContainerGenerator
parent, IGeneratorHost host, DependencyObject peer, int level)
174
ItemContainerGenerator
IItemContainerGenerator.GetItemContainerGeneratorForPanel(Panel panel)
1236
internal
ItemContainerGenerator
Parent
1301
DependencyProperty.RegisterAttached("ItemForItemContainer", typeof(object), typeof(
ItemContainerGenerator
),
1337
internal Generator(
ItemContainerGenerator
factory, GeneratorPosition position, GeneratorDirection direction, bool allowStartAtRealizedItem)
1440
ItemContainerGenerator
.LinkContainerToItem(container, item);
1587
ItemContainerGenerator
_factory;
1595
public BatchGenerator(
ItemContainerGenerator
factory)
1613
ItemContainerGenerator
_factory;
2808
private
ItemContainerGenerator
_parent;
3107
public void SetGenerator(
ItemContainerGenerator
generator)
3115
CollectionViewGroup group = (CollectionViewGroup)GetValue(
ItemContainerGenerator
.ItemForItemContainerProperty);
3120
ItemContainerGenerator
generator = Generator;
src\Framework\System\Windows\Controls\ItemsControl.cs (5)
264
public
ItemContainerGenerator
ItemContainerGenerator
1241
if (element.ContainsValue(
ItemContainerGenerator
.ItemForItemContainerProperty))
3580
container.ReadLocalValue(
ItemContainerGenerator
.ItemForItemContainerProperty)))
3864
internal ItemInfo Refresh(
ItemContainerGenerator
generator)
3961
private
ItemContainerGenerator
_itemContainerGenerator;
src\Framework\System\Windows\Controls\ItemsPresenter.cs (4)
97
internal
ItemContainerGenerator
Generator
213
ItemContainerGenerator
generator;
263
void UseGenerator(
ItemContainerGenerator
generator)
344
ItemContainerGenerator
_generator;
src\Framework\System\Windows\Controls\Panel.cs (1)
857
private
ItemContainerGenerator
_itemContainerGenerator;
src\Framework\System\Windows\Controls\Primitives\IItemContainerGenerator.cs (1)
29
ItemContainerGenerator
GetItemContainerGeneratorForPanel(Panel panel);
src\Framework\System\Windows\Controls\Primitives\ToolBarPanel.cs (4)
428
ItemContainerGenerator
icg = Generator as
ItemContainerGenerator
;
487
ItemContainerGenerator
icg = Generator as
ItemContainerGenerator
;
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (35)
1591
ItemContainerGenerator
generator = (
ItemContainerGenerator
)Generator;
2193
IList items = ((
ItemContainerGenerator
)generator).ItemsInternal;
2339
using (((
ItemContainerGenerator
)generator).GenerateBatches())
3303
IList items = ((
ItemContainerGenerator
)generator).ItemsInternal;
3698
int index = ((
ItemContainerGenerator
)generator).IndexFromContainer(itemsOwner, true /*returnLocalIndex*/);
3746
IList items = ((
ItemContainerGenerator
)generator).ItemsInternal;
6190
ItemContainerGenerator
generator = (
ItemContainerGenerator
)Generator;
6221
ItemContainerGenerator
generator = (
ItemContainerGenerator
)Generator;
6464
return container.ReadLocalValue(System.Windows.Controls.
ItemContainerGenerator
.ItemForItemContainerProperty);
7400
itemStorageProvider.StoreItemValue(((
ItemContainerGenerator
)Generator).ItemFromContainer(child), ContainerSizeProperty, childSize);
7481
ItemContainerGenerator
generator = (
ItemContainerGenerator
)Generator;
7947
object item = ((
ItemContainerGenerator
)generator).ItemFromContainer((UIElement)children[childIndex]);
8059
ItemContainerGenerator
icg;
8060
if (child == null && (icg = generator as
ItemContainerGenerator
) != null)
8462
int currChildItemIndex = ((
ItemContainerGenerator
)generator).IndexFromContainer(child, true /*returnLocalIndex*/);
8515
int currChildItemIndex = ((
ItemContainerGenerator
)generator).IndexFromContainer(child, true /*returnLocalIndex*/);
9061
System.Windows.Controls.
ItemContainerGenerator
generator = Generator as System.Windows.Controls.
ItemContainerGenerator
;
9407
return((
ItemContainerGenerator
)Generator).ItemsInternal.Count;
10869
ItemContainerGenerator
generator = (
ItemContainerGenerator
)Generator;
10968
items = ((
ItemContainerGenerator
)itemsHost.Generator).ItemsInternal;
10969
childItemIndex = ((
ItemContainerGenerator
)itemsHost.Generator).IndexFromContainer(child, returnLocalIndex);
12035
ItemContainerGenerator
generator = parent.ItemContainerGenerator as
ItemContainerGenerator
;
12865
ItemContainerGenerator
g = Generator as
ItemContainerGenerator
;
12893
ItemContainerGenerator
g = Generator as
ItemContainerGenerator
;
12898
ItemContainerGenerator
g = vsp.Generator as
ItemContainerGenerator
;