1 implementation of IsItemItsOwnContainer
PresentationFramework (1)
System\Windows\Controls\ItemsControl.cs (1)
1312
bool IGeneratorHost.
IsItemItsOwnContainer
(object item)
8 references to IsItemItsOwnContainer
PresentationFramework (8)
System\Windows\Automation\Peers\GroupItemAutomationPeer.cs (1)
169
if (!((MS.Internal.Controls.IGeneratorHost)itemsControl).
IsItemItsOwnContainer
(child))
System\Windows\Automation\Peers\ItemAutomationPeer.cs (1)
104
if (((MS.Internal.Controls.IGeneratorHost)owner).
IsItemItsOwnContainer
(item))
System\Windows\Controls\ItemContainerGenerator.cs (2)
1410
if (_factory._recyclableContainers.Count > 0 && !_factory.Host.
IsItemItsOwnContainer
(item) && !isNewItemPlaceHolderWhenGrouping)
2612
if (oldItem != container && !_host.
IsItemItsOwnContainer
(newItem))
System\Windows\Controls\ItemsControl.cs (2)
1179
if (host.
IsItemItsOwnContainer
(ui))
3547
&& ((IGeneratorHost)this).
IsItemItsOwnContainer
(container))
System\Windows\Controls\Primitives\Selector.cs (1)
988
if ( !((IGeneratorHost)this).
IsItemItsOwnContainer
(item) )
System\Windows\Controls\VirtualizingStackPanel.cs (1)
9165
!((IGeneratorHost)itemsControl).
IsItemItsOwnContainer
(item) &&