2 instantiations of FlowDocumentView
PresentationFramework (2)
src\Framework\System\Windows\Controls\FlowDocumentScrollViewer.cs (1)
142_contentHost.Content = new FlowDocumentView();
src\Framework\System\Windows\Controls\RichTextBox.cs (1)
329FlowDocumentView renderScope = new FlowDocumentView();
24 references to FlowDocumentView
PresentationFramework (24)
src\Framework\MS\Internal\Documents\ContentHostHelper.cs (1)
101if (textView.RenderScope is FlowDocumentView) // FlowDocumentScrollViewer
src\Framework\MS\Internal\Documents\DocumentPageTextView.cs (7)
70internal DocumentPageTextView(FlowDocumentView owner, ITextContainer textContainer) 352else if (_owner is FlowDocumentView) 354_page = ((FlowDocumentView)_owner).DocumentPage; 412FlowDocumentView owner = _owner as FlowDocumentView; 457FlowDocumentView owner = _owner as FlowDocumentView;
src\Framework\MS\Internal\LayoutDump.cs (5)
458AddUIElementDumpHandler(typeof(FlowDocumentView), new DumpCustomUIElement(DumpFlowDocumentView)); 523FlowDocumentView fdv = null; 526fdv = fdsv.ScrollViewer.Content as FlowDocumentView; 543FlowDocumentView fdView = element as FlowDocumentView;
src\Framework\System\Windows\Controls\FlowDocumentScrollViewer.cs (2)
1809private FlowDocumentView RenderScope 1811get { return (_contentHost != null) ? _contentHost.Content as FlowDocumentView : null; }
src\Framework\System\Windows\Controls\Primitives\TextBoxBase.cs (2)
1937FlowDocumentView fdv; 1947else if ((fdv = _renderScope as FlowDocumentView) != null)
src\Framework\System\Windows\Controls\RichTextBox.cs (2)
329FlowDocumentView renderScope = new FlowDocumentView(); 795this.RenderScope.ClearValue(FlowDocumentView.WidthProperty);
src\Framework\System\Windows\Documents\TextPointerBase.cs (5)
244typeof(FlowDocumentView).IsAssignableFrom(parentType) || 893if (thisPointer.TextContainer.Parent is FlowDocument && textView.RenderScope is FlowDocumentView) 896templatedParent = ((FlowDocumentView)textView.RenderScope).TemplatedParent as Visual; 897if (templatedParent == null && ((FlowDocumentView)textView.RenderScope).Parent is FrameworkElement) 899templatedParent = ((FrameworkElement)((FlowDocumentView)textView.RenderScope).Parent).TemplatedParent as Visual;