1 implementation of IsItemItsOwnContainer
PresentationFramework (1)
src\Framework\System\Windows\Controls\ItemsControl.cs (1)
1316
bool IGeneratorHost.
IsItemItsOwnContainer
(object item)
8 references to IsItemItsOwnContainer
PresentationFramework (8)
src\Framework\System\Windows\Automation\Peers\GroupItemAutomationPeer.cs (1)
154
if (!((MS.Internal.Controls.IGeneratorHost)itemsControl).
IsItemItsOwnContainer
(child))
src\Framework\System\Windows\Automation\Peers\ItemAutomationPeer.cs (1)
101
if (((MS.Internal.Controls.IGeneratorHost)owner).
IsItemItsOwnContainer
(item))
src\Framework\System\Windows\Controls\ItemContainerGenerator.cs (2)
1418
if (_factory._recyclableContainers.Count > 0 && !_factory.Host.
IsItemItsOwnContainer
(item) && !isNewItemPlaceHolderWhenGrouping)
2620
if (oldItem != container && !_host.
IsItemItsOwnContainer
(newItem))
src\Framework\System\Windows\Controls\ItemsControl.cs (2)
1182
if (host.
IsItemItsOwnContainer
(ui))
3478
&& ((IGeneratorHost)this).
IsItemItsOwnContainer
(container))
src\Framework\System\Windows\Controls\Primitives\Selector.cs (1)
998
if ( !((IGeneratorHost)this).
IsItemItsOwnContainer
(item) )
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (1)
9007
!((IGeneratorHost)itemsControl).
IsItemItsOwnContainer
(item) &&