1 implementation of IsItemItsOwnContainer
PresentationFramework (1)
System\Windows\Controls\ItemsControl.cs (1)
1303
bool IGeneratorHost.
IsItemItsOwnContainer
(object item)
8 references to IsItemItsOwnContainer
PresentationFramework (8)
System\Windows\Automation\Peers\GroupItemAutomationPeer.cs (1)
157
if (!((MS.Internal.Controls.IGeneratorHost)itemsControl).
IsItemItsOwnContainer
(child))
System\Windows\Automation\Peers\ItemAutomationPeer.cs (1)
94
if (((MS.Internal.Controls.IGeneratorHost)owner).
IsItemItsOwnContainer
(item))
System\Windows\Controls\ItemContainerGenerator.cs (2)
1404
if (_factory._recyclableContainers.Count > 0 && !_factory.Host.
IsItemItsOwnContainer
(item) && !isNewItemPlaceHolderWhenGrouping)
2606
if (oldItem != container && !_host.
IsItemItsOwnContainer
(newItem))
System\Windows\Controls\ItemsControl.cs (2)
1170
if (host.
IsItemItsOwnContainer
(ui))
3538
&& ((IGeneratorHost)this).
IsItemItsOwnContainer
(container))
System\Windows\Controls\Primitives\Selector.cs (1)
979
if ( !((IGeneratorHost)this).
IsItemItsOwnContainer
(item) )
System\Windows\Controls\VirtualizingStackPanel.cs (1)
9160
!((IGeneratorHost)itemsControl).
IsItemItsOwnContainer
(item) &&