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