1 implementation of IsItemItsOwnContainer
PresentationFramework (1)
System\Windows\Controls\ItemsControl.cs (1)
1303bool IGeneratorHost.IsItemItsOwnContainer(object item)
8 references to IsItemItsOwnContainer
PresentationFramework (8)
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\Controls\ItemContainerGenerator.cs (2)
1404if (_factory._recyclableContainers.Count > 0 && !_factory.Host.IsItemItsOwnContainer(item) && !isNewItemPlaceHolderWhenGrouping) 2606if (oldItem != container && !_host.IsItemItsOwnContainer(newItem))
System\Windows\Controls\ItemsControl.cs (2)
1170if (host.IsItemItsOwnContainer(ui)) 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) &&