5 implementations of IContentHost
PresentationFramework (5)
MS\Internal\Documents\UIElementIsland.cs (1)
20internal class UIElementIsland : ContainerVisual, IContentHost, IDisposable
MS\Internal\PtsHost\FlowDocumentPage.cs (1)
33internal sealed class FlowDocumentPage : DocumentPage, IServiceProvider, IDisposable, IContentHost
MS\Internal\PtsHost\PageVisual.cs (1)
23internal class PageVisual : DrawingVisual, IContentHost
System\Windows\Annotations\AnnotationDocumentPaginator.cs (1)
430private class AnnotatedDocumentPage : DocumentPage, IContentHost
System\Windows\Controls\TextBlock.cs (1)
57public class TextBlock : FrameworkElement, IContentHost, IAddChildInternal, IServiceProvider
89 references to IContentHost
PresentationCore (6)
System\Windows\UIElement.cs (6)
703IContentHost ich; 722internal void GetUIParentOrICH(out UIElement uiParent, out IContentHost ich) 729ich = v as IContentHost; 2057IContentHost contentHost = candidate as IContentHost; 3060IContentHost ich;
PresentationFramework (70)
MS\Internal\Documents\ContentHostHelper.cs (10)
39internal static IContentHost FindContentHost(ContentElement contentElement) 41IContentHost ich = null; 53if (parent is IContentHost) // TextBlock 55ich = (IContentHost)parent; 61else if (textContainer.TextView != null && textContainer.TextView.RenderScope is IContentHost) 64ich = (IContentHost)textContainer.TextView.RenderScope; 88private static IContentHost GetICHFromFlowDocument(TextElement contentElement, FlowDocument flowDocument) 90IContentHost ich = null; 103ich = VisualTreeHelper.GetChild(textView.RenderScope, 0) as IContentHost; 127ich = pageViews[i].DocumentPage.Visual as IContentHost;
MS\Internal\Documents\UIElementIsland.cs (8)
185/// <see cref="IContentHost.InputHitTest"/> 187IInputElement IContentHost.InputHitTest(Point point) 196/// <see cref="IContentHost.GetRectangles"/> 198ReadOnlyCollection<Rect> IContentHost.GetRectangles(ContentElement child) 204/// <see cref="IContentHost.HostedElements"/> 206IEnumerator<IInputElement> IContentHost.HostedElements 220/// <see cref="IContentHost.OnChildDesiredSizeChanged"/> 222void IContentHost.OnChildDesiredSizeChanged(UIElement child)
MS\Internal\PtsHost\FlowDocumentPage.cs (4)
1191IInputElement IContentHost.InputHitTest(Point point) 1204ReadOnlyCollection<Rect> IContentHost.GetRectangles(ContentElement child) 1214IEnumerator<IInputElement> IContentHost.HostedElements 1228void IContentHost.OnChildDesiredSizeChanged(UIElement child)
MS\Internal\PtsHost\PageVisual.cs (16)
111/// <see cref="IContentHost.InputHitTest"/> 113IInputElement IContentHost.InputHitTest(Point point) 115IContentHost host = _owner.Target as IContentHost; 124/// <see cref="IContentHost.GetRectangles"/> 126ReadOnlyCollection<Rect> IContentHost.GetRectangles(ContentElement child) 128IContentHost host = _owner.Target as IContentHost; 137/// <see cref="IContentHost.HostedElements"/> 139IEnumerator<IInputElement> IContentHost.HostedElements 143IContentHost host = _owner.Target as IContentHost; 153/// <see cref="IContentHost.OnChildDesiredSizeChanged"/> 155void IContentHost.OnChildDesiredSizeChanged(UIElement child) 157IContentHost host = _owner.Target as IContentHost;
System\Windows\Annotations\AnnotationDocumentPaginator.cs (2)
439_basePage = basePage as IContentHost; 504private IContentHost _basePage;
System\Windows\Controls\FlowDocumentScrollViewer.cs (4)
1098IContentHost ich; 1294private IContentHost GetIContentHost() 1296IContentHost ich = null; 1299ich = VisualTreeHelper.GetChild(RenderScope, 0) as IContentHost;
System\Windows\Controls\PopupControlService.cs (1)
874IContentHost ichParent = null;
System\Windows\Controls\ScrollViewer.cs (1)
2483IContentHost contentHost = ContentHostHelper.FindContentHost(contentElement);
System\Windows\Controls\TextBlock.cs (4)
72IInputElement IContentHost.InputHitTest(Point point) 86ReadOnlyCollection<Rect> IContentHost.GetRectangles(ContentElement child) 94IEnumerator<IInputElement> IContentHost.HostedElements 110void IContentHost.OnChildDesiredSizeChanged(UIElement child)
System\Windows\FrameworkElement.cs (1)
3992if (parentFE != null && parentFE is IContentHost)
System\Windows\Input\KeyboardNavigation.cs (19)
517public FocusVisualAdorner(ContentElement adornedElement, UIElement adornedElementParent, IContentHost contentHostParent, Style focusVisualStyle) 579IContentHost contentHost = ContentHost; 675private IContentHost ContentHost 700IContentHost contentHost = ContentHost; 755private IContentHost _contentHostParent; 765IContentHost ichParent = null; 769internal static UIElement GetParentUIElementFromContentElement(ContentElement ce, ref IContentHost ichParent) 774IContentHost ich = MS.Internal.Documents.ContentHostHelper.FindContentHost(ce); 884IContentHost parentICH = null; 1445if (visual is IContentHost && !(visual is MS.Internal.Documents.UIElementIsland)) 1460IContentHost ich = parent as IContentHost; 1518IContentHost ich = parent as IContentHost; 1633IContentHost ich = e as IContentHost; 1700IContentHost ich = e as IContentHost; 2411IContentHost parentICH = null;
ReachFramework (13)
Serialization\Manager\ReachSerializationUtils.cs (13)
782IContentHost contentHost = page as IContentHost; 808if (element is IContentHost) 811SerializeLinksForIContentHost((IContentHost)element, page); 830IContentHost contentHost = visual as IContentHost; 846private void SerializeLinksForIContentHost(IContentHost contentHost, Visual root) 856if (element is IContentHost) 859SerializeLinksForIContentHost((IContentHost)element, root); 870private void SerializeLinksInLogicalTree(DependencyObject dependencyObject, IContentHost contentHost, Visual root) 881if (element is IContentHost) 884SerializeLinksForIContentHost((IContentHost)element, root); 895private void SerializeLinkTargetForElement(IInputElement element, IContentHost contentHost, Visual root)