5 implementations of IContentHost
PresentationFramework (5)
src\Framework\MS\Internal\Documents\UIElementIsland.cs (1)
22
internal class UIElementIsland : ContainerVisual,
IContentHost
, IDisposable
src\Framework\MS\Internal\PtsHost\FlowDocumentPage.cs (1)
35
internal sealed class FlowDocumentPage : DocumentPage, IServiceProvider, IDisposable,
IContentHost
src\Framework\MS\Internal\PtsHost\PageVisual.cs (1)
27
internal class PageVisual : DrawingVisual,
IContentHost
src\Framework\System\Windows\Annotations\AnnotationDocumentPaginator.cs (1)
441
private class AnnotatedDocumentPage : DocumentPage,
IContentHost
src\Framework\System\Windows\Controls\TextBlock.cs (1)
63
public class TextBlock : FrameworkElement,
IContentHost
, IAddChildInternal, IServiceProvider
75 references to IContentHost
PresentationCore (6)
Core\CSharp\System\Windows\UIElement.cs (6)
710
IContentHost
ich;
729
internal void GetUIParentOrICH(out UIElement uiParent, out
IContentHost
ich)
736
ich = v as
IContentHost
;
2085
IContentHost
contentHost = candidate as
IContentHost
;
3089
IContentHost
ich;
PresentationFramework (69)
src\Framework\MS\Internal\Documents\ContentHostHelper.cs (10)
41
internal static
IContentHost
FindContentHost(ContentElement contentElement)
43
IContentHost
ich = null;
55
if (parent is
IContentHost
) // TextBlock
57
ich = (
IContentHost
)parent;
63
else if (textContainer.TextView != null && textContainer.TextView.RenderScope is
IContentHost
)
66
ich = (
IContentHost
)textContainer.TextView.RenderScope;
90
private static
IContentHost
GetICHFromFlowDocument(TextElement contentElement, FlowDocument flowDocument)
92
IContentHost
ich = null;
105
ich = VisualTreeHelper.GetChild(textView.RenderScope, 0) as
IContentHost
;
129
ich = pageViews[i].DocumentPage.Visual as
IContentHost
;
src\Framework\MS\Internal\Documents\UIElementIsland.cs (8)
187
/// <see cref="
IContentHost
.InputHitTest"/>
189
IInputElement
IContentHost
.InputHitTest(Point point)
198
/// <see cref="
IContentHost
.GetRectangles"/>
200
ReadOnlyCollection<Rect>
IContentHost
.GetRectangles(ContentElement child)
206
/// <see cref="
IContentHost
.HostedElements"/>
208
IEnumerator<IInputElement>
IContentHost
.HostedElements
222
/// <see cref="
IContentHost
.OnChildDesiredSizeChanged"/>
224
void
IContentHost
.OnChildDesiredSizeChanged(UIElement child)
src\Framework\MS\Internal\PtsHost\FlowDocumentPage.cs (4)
1216
IInputElement
IContentHost
.InputHitTest(Point point)
1229
ReadOnlyCollection<Rect>
IContentHost
.GetRectangles(ContentElement child)
1239
IEnumerator<IInputElement>
IContentHost
.HostedElements
1253
void
IContentHost
.OnChildDesiredSizeChanged(UIElement child)
src\Framework\MS\Internal\PtsHost\PageVisual.cs (16)
115
/// <see cref="
IContentHost
.InputHitTest"/>
117
IInputElement
IContentHost
.InputHitTest(Point point)
119
IContentHost
host = _owner.Target as
IContentHost
;
128
/// <see cref="
IContentHost
.GetRectangles"/>
130
ReadOnlyCollection<Rect>
IContentHost
.GetRectangles(ContentElement child)
132
IContentHost
host = _owner.Target as
IContentHost
;
141
/// <see cref="
IContentHost
.HostedElements"/>
143
IEnumerator<IInputElement>
IContentHost
.HostedElements
147
IContentHost
host = _owner.Target as
IContentHost
;
157
/// <see cref="
IContentHost
.OnChildDesiredSizeChanged"/>
159
void
IContentHost
.OnChildDesiredSizeChanged(UIElement child)
161
IContentHost
host = _owner.Target as
IContentHost
;
src\Framework\System\Windows\Annotations\AnnotationDocumentPaginator.cs (2)
450
_basePage = basePage as
IContentHost
;
515
private
IContentHost
_basePage;
src\Framework\System\Windows\Controls\FlowDocumentScrollViewer.cs (4)
1106
IContentHost
ich;
1302
private
IContentHost
GetIContentHost()
1304
IContentHost
ich = null;
1307
ich = VisualTreeHelper.GetChild(RenderScope, 0) as
IContentHost
;
src\Framework\System\Windows\Controls\ScrollViewer.cs (1)
2523
IContentHost
contentHost = ContentHostHelper.FindContentHost(contentElement);
src\Framework\System\Windows\Controls\TextBlock.cs (4)
78
IInputElement
IContentHost
.InputHitTest(Point point)
92
ReadOnlyCollection<Rect>
IContentHost
.GetRectangles(ContentElement child)
100
IEnumerator<IInputElement>
IContentHost
.HostedElements
116
void
IContentHost
.OnChildDesiredSizeChanged(UIElement child)
src\Framework\System\Windows\FrameworkElement.cs (1)
3991
if (parentFE != null && parentFE is
IContentHost
)
src\Framework\System\Windows\Input\KeyboardNavigation.cs (19)
565
public FocusVisualAdorner(ContentElement adornedElement, UIElement adornedElementParent,
IContentHost
contentHostParent, Style focusVisualStyle)
627
IContentHost
contentHost = ContentHost;
723
private
IContentHost
ContentHost
748
IContentHost
contentHost = ContentHost;
803
private
IContentHost
_contentHostParent;
813
IContentHost
ichParent = null;
817
private static UIElement GetParentUIElementFromContentElement(ContentElement ce, ref
IContentHost
ichParent)
822
IContentHost
ich = MS.Internal.Documents.ContentHostHelper.FindContentHost(ce);
938
IContentHost
parentICH = null;
1531
if (visual is
IContentHost
&& !(visual is MS.Internal.Documents.UIElementIsland))
1546
IContentHost
ich = parent as
IContentHost
;
1604
IContentHost
ich = parent as
IContentHost
;
1719
IContentHost
ich = e as
IContentHost
;
1786
IContentHost
ich = e as
IContentHost
;
2498
IContentHost
parentICH = null;