1 implementation of IGeneratorHost
PresentationFramework (1)
System\Windows\Controls\ItemsControl.cs (1)
44public class ItemsControl : Control, IAddChild, IGeneratorHost, IContainItemStorage
24 references to IGeneratorHost
PresentationFramework (24)
MS\Internal\Helper.cs (2)
418internal static MS.Internal.Controls.IGeneratorHost GeneratorHostForElement(DependencyObject element) 501MS.Internal.Controls.IGeneratorHost host = Helper.GeneratorHostForElement(d);
System\Windows\Automation\Peers\GroupItemAutomationPeer.cs (1)
169if (!((MS.Internal.Controls.IGeneratorHost)itemsControl).IsItemItsOwnContainer(child))
System\Windows\Automation\Peers\ItemAutomationPeer.cs (1)
104if (((MS.Internal.Controls.IGeneratorHost)owner).IsItemItsOwnContainer(item))
System\Windows\Automation\Peers\ItemsControlAutomationPeer.cs (1)
766_container = ((MS.Internal.Controls.IGeneratorHost)itemsControl).GetContainerForItem(item);
System\Windows\Controls\ItemContainerGenerator.cs (5)
51internal ItemContainerGenerator(IGeneratorHost host) 65private ItemContainerGenerator(ItemContainerGenerator parent, IGeneratorHost host, DependencyObject peer, int level) 1614IGeneratorHost Host { get { return _host; } } 2295internal static void UnlinkContainerFromItem(DependencyObject container, object item, IGeneratorHost host) 2790private IGeneratorHost _host;
System\Windows\Controls\ItemsControl.cs (12)
1178IGeneratorHost host = ic as IGeneratorHost; 1304ItemCollection IGeneratorHost.View 1312bool IGeneratorHost.IsItemItsOwnContainer(object item) 1320DependencyObject IGeneratorHost.GetContainerForItem(object item) 1362void IGeneratorHost.PrepareItemContainer(DependencyObject container, object item) 1413void IGeneratorHost.ClearContainerForItem(DependencyObject container, object item) 1448bool IGeneratorHost.IsHostForItemContainer(DependencyObject container) 1477GroupStyle IGeneratorHost.GetGroupStyle(CollectionViewGroup group, int level) 1508void IGeneratorHost.SetIsGrouping(bool isGrouping) 1516int IGeneratorHost.AlternationCount { get { return AlternationCount; } } 3547&& ((IGeneratorHost)this).IsItemItsOwnContainer(container))
System\Windows\Controls\Primitives\Selector.cs (1)
988if ( !((IGeneratorHost)this).IsItemItsOwnContainer(item) )
System\Windows\Controls\VirtualizingStackPanel.cs (1)
9165!((IGeneratorHost)itemsControl).IsItemItsOwnContainer(item) &&