1 implementation of IGeneratorHost
PresentationFramework (1)
System\Windows\Controls\ItemsControl.cs (1)
34public class ItemsControl : Control, IAddChild, IGeneratorHost, IContainItemStorage
24 references to IGeneratorHost
PresentationFramework (24)
MS\Internal\Helper.cs (2)
408internal static MS.Internal.Controls.IGeneratorHost GeneratorHostForElement(DependencyObject element) 491MS.Internal.Controls.IGeneratorHost host = Helper.GeneratorHostForElement(d);
System\Windows\Automation\Peers\GroupItemAutomationPeer.cs (1)
156if (!((MS.Internal.Controls.IGeneratorHost)itemsControl).IsItemItsOwnContainer(child))
System\Windows\Automation\Peers\ItemAutomationPeer.cs (1)
93if (((MS.Internal.Controls.IGeneratorHost)owner).IsItemItsOwnContainer(item))
System\Windows\Automation\Peers\ItemsControlAutomationPeer.cs (1)
742_container = ((MS.Internal.Controls.IGeneratorHost)itemsControl).GetContainerForItem(item);
System\Windows\Controls\ItemContainerGenerator.cs (5)
44internal ItemContainerGenerator(IGeneratorHost host) 58private ItemContainerGenerator(ItemContainerGenerator parent, IGeneratorHost host, DependencyObject peer, int level) 1604private IGeneratorHost Host { get { return _host; } } 2283internal static void UnlinkContainerFromItem(DependencyObject container, object item, IGeneratorHost host) 2782private IGeneratorHost _host;
System\Windows\Controls\ItemsControl.cs (12)
1156IGeneratorHost host = ic as IGeneratorHost; 1282ItemCollection IGeneratorHost.View 1290bool IGeneratorHost.IsItemItsOwnContainer(object item) 1298DependencyObject IGeneratorHost.GetContainerForItem(object item) 1340void IGeneratorHost.PrepareItemContainer(DependencyObject container, object item) 1388void IGeneratorHost.ClearContainerForItem(DependencyObject container, object item) 1420bool IGeneratorHost.IsHostForItemContainer(DependencyObject container) 1449GroupStyle IGeneratorHost.GetGroupStyle(CollectionViewGroup group, int level) 1480void IGeneratorHost.SetIsGrouping(bool isGrouping) 1488int IGeneratorHost.AlternationCount { get { return AlternationCount; } } 3507&& ((IGeneratorHost)this).IsItemItsOwnContainer(container))
System\Windows\Controls\Primitives\Selector.cs (1)
976if ( !((IGeneratorHost)this).IsItemItsOwnContainer(item) )
System\Windows\Controls\VirtualizingStackPanel.cs (1)
9138!((IGeneratorHost)itemsControl).IsItemItsOwnContainer(item) &&