1 implementation of IGeneratorHost
PresentationFramework (1)
src\Framework\System\Windows\Controls\ItemsControl.cs (1)
45public class ItemsControl : Control, IAddChild, IGeneratorHost, IContainItemStorage
24 references to IGeneratorHost
PresentationFramework (24)
src\Framework\MS\Internal\Helper.cs (2)
427internal static MS.Internal.Controls.IGeneratorHost GeneratorHostForElement(DependencyObject element) 510MS.Internal.Controls.IGeneratorHost host = Helper.GeneratorHostForElement(d);
src\Framework\System\Windows\Automation\Peers\GroupItemAutomationPeer.cs (1)
154if (!((MS.Internal.Controls.IGeneratorHost)itemsControl).IsItemItsOwnContainer(child))
src\Framework\System\Windows\Automation\Peers\ItemAutomationPeer.cs (1)
101if (((MS.Internal.Controls.IGeneratorHost)owner).IsItemItsOwnContainer(item))
src\Framework\System\Windows\Automation\Peers\ItemsControlAutomationPeer.cs (1)
772_container = ((MS.Internal.Controls.IGeneratorHost)itemsControl).GetContainerForItem(item);
src\Framework\System\Windows\Controls\ItemContainerGenerator.cs (5)
53internal ItemContainerGenerator(IGeneratorHost host) 67private ItemContainerGenerator(ItemContainerGenerator parent, IGeneratorHost host, DependencyObject peer, int level) 1622IGeneratorHost Host { get { return _host; } } 2303internal static void UnlinkContainerFromItem(DependencyObject container, object item, IGeneratorHost host) 2798private IGeneratorHost _host;
src\Framework\System\Windows\Controls\ItemsControl.cs (12)
1181IGeneratorHost host = ic as IGeneratorHost; 1308ItemCollection IGeneratorHost.View 1316bool IGeneratorHost.IsItemItsOwnContainer(object item) 1324DependencyObject IGeneratorHost.GetContainerForItem(object item) 1366void IGeneratorHost.PrepareItemContainer(DependencyObject container, object item) 1416void IGeneratorHost.ClearContainerForItem(DependencyObject container, object item) 1451bool IGeneratorHost.IsHostForItemContainer(DependencyObject container) 1480GroupStyle IGeneratorHost.GetGroupStyle(CollectionViewGroup group, int level) 1511void IGeneratorHost.SetIsGrouping(bool isGrouping) 1519int IGeneratorHost.AlternationCount { get { return AlternationCount; } } 3478&& ((IGeneratorHost)this).IsItemItsOwnContainer(container))
src\Framework\System\Windows\Controls\Primitives\Selector.cs (1)
998if ( !((IGeneratorHost)this).IsItemItsOwnContainer(item) )
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (1)
9007!((IGeneratorHost)itemsControl).IsItemItsOwnContainer(item) &&