1 implementation of IGeneratorHost
PresentationFramework (1)
System\Windows\Controls\ItemsControl.cs (1)
35public class ItemsControl : Control, IAddChild, IGeneratorHost, IContainItemStorage
24 references to IGeneratorHost
PresentationFramework (24)
MS\Internal\Helper.cs (2)
409internal static MS.Internal.Controls.IGeneratorHost GeneratorHostForElement(DependencyObject element) 492MS.Internal.Controls.IGeneratorHost host = Helper.GeneratorHostForElement(d);
System\Windows\Automation\Peers\GroupItemAutomationPeer.cs (1)
157if (!((MS.Internal.Controls.IGeneratorHost)itemsControl).IsItemItsOwnContainer(child))
System\Windows\Automation\Peers\ItemAutomationPeer.cs (1)
94if (((MS.Internal.Controls.IGeneratorHost)owner).IsItemItsOwnContainer(item))
System\Windows\Automation\Peers\ItemsControlAutomationPeer.cs (1)
754_container = ((MS.Internal.Controls.IGeneratorHost)itemsControl).GetContainerForItem(item);
System\Windows\Controls\ItemContainerGenerator.cs (5)
45internal ItemContainerGenerator(IGeneratorHost host) 59private ItemContainerGenerator(ItemContainerGenerator parent, IGeneratorHost host, DependencyObject peer, int level) 1608IGeneratorHost Host { get { return _host; } } 2289internal static void UnlinkContainerFromItem(DependencyObject container, object item, IGeneratorHost host) 2784private IGeneratorHost _host;
System\Windows\Controls\ItemsControl.cs (12)
1169IGeneratorHost host = ic as IGeneratorHost; 1295ItemCollection IGeneratorHost.View 1303bool IGeneratorHost.IsItemItsOwnContainer(object item) 1311DependencyObject IGeneratorHost.GetContainerForItem(object item) 1353void IGeneratorHost.PrepareItemContainer(DependencyObject container, object item) 1404void IGeneratorHost.ClearContainerForItem(DependencyObject container, object item) 1439bool IGeneratorHost.IsHostForItemContainer(DependencyObject container) 1468GroupStyle IGeneratorHost.GetGroupStyle(CollectionViewGroup group, int level) 1499void IGeneratorHost.SetIsGrouping(bool isGrouping) 1507int IGeneratorHost.AlternationCount { get { return AlternationCount; } } 3538&& ((IGeneratorHost)this).IsItemItsOwnContainer(container))
System\Windows\Controls\Primitives\Selector.cs (1)
979if ( !((IGeneratorHost)this).IsItemItsOwnContainer(item) )
System\Windows\Controls\VirtualizingStackPanel.cs (1)
9160!((IGeneratorHost)itemsControl).IsItemItsOwnContainer(item) &&