1 implementation of IGeneratorHost
PresentationFramework (1)
System\Windows\Controls\ItemsControl.cs (1)
35
public class ItemsControl : Control, IAddChild,
IGeneratorHost
, IContainItemStorage
24 references to IGeneratorHost
PresentationFramework (24)
MS\Internal\Helper.cs (2)
409
internal static MS.Internal.Controls.
IGeneratorHost
GeneratorHostForElement(DependencyObject element)
492
MS.Internal.Controls.
IGeneratorHost
host = Helper.GeneratorHostForElement(d);
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\Automation\Peers\ItemsControlAutomationPeer.cs (1)
743
_container = ((MS.Internal.Controls.
IGeneratorHost
)itemsControl).GetContainerForItem(item);
System\Windows\Controls\ItemContainerGenerator.cs (5)
45
internal ItemContainerGenerator(
IGeneratorHost
host)
59
private ItemContainerGenerator(ItemContainerGenerator parent,
IGeneratorHost
host, DependencyObject peer, int level)
1605
IGeneratorHost
Host { get { return _host; } }
2286
internal static void UnlinkContainerFromItem(DependencyObject container, object item,
IGeneratorHost
host)
2785
private
IGeneratorHost
_host;
System\Windows\Controls\ItemsControl.cs (12)
1157
IGeneratorHost
host = ic as
IGeneratorHost
;
1283
ItemCollection
IGeneratorHost
.View
1291
bool
IGeneratorHost
.IsItemItsOwnContainer(object item)
1299
DependencyObject
IGeneratorHost
.GetContainerForItem(object item)
1341
void
IGeneratorHost
.PrepareItemContainer(DependencyObject container, object item)
1389
void
IGeneratorHost
.ClearContainerForItem(DependencyObject container, object item)
1421
bool
IGeneratorHost
.IsHostForItemContainer(DependencyObject container)
1450
GroupStyle
IGeneratorHost
.GetGroupStyle(CollectionViewGroup group, int level)
1481
void
IGeneratorHost
.SetIsGrouping(bool isGrouping)
1489
int
IGeneratorHost
.AlternationCount { get { return AlternationCount; } }
3508
&& ((
IGeneratorHost
)this).IsItemItsOwnContainer(container))
System\Windows\Controls\Primitives\Selector.cs (1)
977
if ( !((
IGeneratorHost
)this).IsItemItsOwnContainer(item) )
System\Windows\Controls\VirtualizingStackPanel.cs (1)
9139
!((
IGeneratorHost
)itemsControl).IsItemItsOwnContainer(item) &&