2 implementations of ITextView
PresentationFramework (2)
src\Framework\MS\Internal\Documents\TextBoxView.cs (1)
27internal class TextBoxView : FrameworkElement, ITextView, IScrollInfo, IServiceProvider
src\Framework\MS\Internal\Documents\TextViewBase.cs (1)
26internal abstract class TextViewBase : ITextView
426 references to ITextView
PresentationFramework (426)
src\Framework\MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (6)
310ITextView tv = (ITextView)((IServiceProvider)docPage).GetService(typeof(ITextView)); 613ITextView textView; 619textView = ((IServiceProvider)documentPage).GetService(typeof(ITextView)) as ITextView;
src\Framework\MS\Internal\Annotations\Anchoring\TextSelectionHelper.cs (24)
313ITextView textView = GetDocumentPageTextView(pointer); 403internal static ITextView GetDocumentPageTextView(ITextPointer pointer) 415return provider.GetService(typeof(ITextView)) as ITextView; 425return isp.GetService(typeof(ITextView)) as ITextView; 436internal static List<ITextView> GetDocumentPageTextViews(TextSegment segment) 438List<ITextView> res = null; 453res = new List<ITextView>(1); 454res.Add(provider.GetService(typeof(ITextView)) as ITextView); 467res = new List<ITextView>(0); 497private static List<ITextView> ProcessSinglePage(IDocumentPaginatorSource idp, int pageNumber) 503List<ITextView> res = null; 506res = new List<ITextView>(1); 507ITextView view = isp.GetService(typeof(ITextView)) as ITextView; 523private static List<ITextView> ProcessMultiplePages(IDocumentPaginatorSource idp, int startPageNumber, int endPageNumber) 540List<ITextView> res = null; 543res = new List<ITextView>(endPageNumber - startPageNumber + 1); 552ITextView textView = serviceProvider.GetService(typeof(ITextView)) as ITextView;
src\Framework\MS\Internal\Annotations\Anchoring\TextSelectionProcessor.cs (3)
276ITextView textView = null; 289textView = serviceProvider.GetService(typeof(ITextView)) as ITextView;
src\Framework\MS\Internal\Annotations\Anchoring\TextViewSelectionProcessor.cs (6)
144ITextView textView = VerifySelection(selection); 239internal static TextRange GetTextViewTextRange(ITextView textView, out int startOffset, out int endOffset) 277private ITextView VerifySelection(object selection) 286ITextView textView = provider.GetService(typeof(ITextView)) as ITextView;
src\Framework\MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (6)
942private void GetSegmentGeometry(GeometryGroup geometry, TextSegment segment, ITextView parentView) 944List<ITextView> textViews = TextSelectionHelper.GetDocumentPageTextViews(segment); 947foreach (ITextView view in textViews) 963private Geometry GetPageGeometry(TextSegment segment, ITextView view, ITextView parentView) 1131ITextView parentView = TextSelectionHelper.GetDocumentPageTextView(TopOwner.Range.Start.CreatePointer(LogicalDirection.Forward));
src\Framework\MS\Internal\Annotations\Component\MArkedHighlightComponent.cs (5)
443ITextView startView = TextSelectionHelper.GetDocumentPageTextView(baseAnchor); 444ITextView endView = TextSelectionHelper.GetDocumentPageTextView(anchor); 960ITextView textView = (ITextView)service.GetService(typeof(ITextView));
src\Framework\MS\Internal\Documents\ContentHostHelper.cs (3)
94ITextView textView = flowDocument.StructuralCache.TextContainer.TextView; 119textView = (ITextView)((IServiceProvider)pageViews[i].DocumentPage).GetService(typeof(ITextView));
src\Framework\MS\Internal\Documents\DocumentGrid.cs (2)
939public ITextView TextView 2625((IServiceProvider)pageView).GetService(typeof(ITextView)) as DocumentPageTextView;
src\Framework\MS\Internal\Documents\DocumentPageTextView.cs (25)
53_pageTextView = ((IServiceProvider)_page).GetService(typeof(ITextView)) as ITextView; 79_pageTextView = ((IServiceProvider)_page).GetService(typeof(ITextView)) as ITextView; 98/// <see cref="ITextView.GetTextPositionFromPoint"/> 117/// <see cref="ITextView.GetRawRectangleFromTextPosition"/> 171/// <see cref="ITextView.GetPositionAtNextLine"/> 200/// <see cref="ITextView.GetPositionAtNextPage"/> 241/// <see cref="ITextView.IsAtCaretUnitBoundary"/> 258/// <see cref="ITextView.GetNextCaretUnitPosition"/> 275/// <see cref="ITextView.GetBackspaceCaretUnitPosition"/> 292/// <see cref="ITextView.GetLineRange"/> 309/// <see cref="ITextView.GetGlyphRuns"/> 326/// <see cref="ITextView.Contains"/> 359_pageTextView = ((IServiceProvider)_page).GetService(typeof(ITextView)) as ITextView; 396/// <see cref="ITextView.Validate()"/> 408/// <see cref="ITextView.Validate(ITextPointer)"/> 453/// <see cref="ITextView.ThrottleBackgroundTasksForUserInput"/> 476/// <see cref="ITextView.RenderScope"/> 484/// <see cref="ITextView.TextContainer"/> 492/// <see cref="ITextView.IsValid"/> 511/// <see cref="ITextView.RendersOwnSelection"/> 527/// <see cref="ITextView.TextSegments"/> 720private ITextView _pageTextView;
src\Framework\MS\Internal\Documents\DocumentViewerHelper.cs (3)
93internal static ITextRange Find(FindToolBar findToolBar, TextEditor textEditor, ITextView textView, ITextView masterPageTextView) 434ITextView textView = textContainer.TextView;
src\Framework\MS\Internal\Documents\FlowDocumentPaginator.cs (3)
361ITextView textView; 397textView = (ITextView)((IServiceProvider)flowDocumentPage).GetService(typeof(ITextView));
src\Framework\MS\Internal\Documents\FlowDocumentView.cs (1)
750if (serviceType == typeof(ITextView))
src\Framework\MS\Internal\Documents\IDocumentScrollInfo.cs (1)
196ITextView TextView { get; }
src\Framework\MS\Internal\Documents\MultiPageTextView.cs (24)
92/// <see cref="ITextView.GetTextPositionFromPoint"/> 117/// <see cref="ITextView.GetRawRectangleFromTextPosition"/> 189/// <see cref="ITextView.GetPositionAtNextLine"/> 204/// <see cref="ITextView.GetPositionAtNextPage"/> 217/// <see cref="ITextView.IsAtCaretUnitBoundary"/> 239/// <see cref="ITextView.GetNextCaretUnitPosition"/> 261/// <see cref="ITextView.GetBackspaceCaretUnitPosition"/> 283/// <see cref="ITextView.GetBackspaceCaretUnitPosition"/> 305/// <see cref="ITextView.Contains"/> 318/// <see cref="ITextView.BringPositionIntoViewAsync"/> 379/// <see cref="ITextView.BringPointIntoViewAsync"/> 481/// <see cref="ITextView.BringLineIntoViewAsync"/> 505/// <see cref="ITextView.BringLineIntoViewAsync"/> 530/// <see cref="ITextView.CancelAsync"/> 608internal ITextView GetPageTextViewFromPosition(ITextPointer position) 629/// <see cref="ITextView.RenderScope"/> 637/// <see cref="ITextView.TextContainer"/> 645/// <see cref="ITextView.IsValid"/> 670/// <see cref="ITextView.RendersOwnSelection"/> 686/// <see cref="ITextView.TextSegments"/> 737pageTextView = ((IServiceProvider)pageViews[index]).GetService(typeof(ITextView)) as DocumentPageTextView; 867/// <see cref="ITextView.GetPositionAtNextLine"/> 1027private ITextPointer GetPositionAtPageBoundary(bool pageTop, ITextView pageTextView, ITextPointer position, double suggestedX) 1367ITextView pageTextView;
src\Framework\MS\Internal\Documents\TextBoxView.cs (68)
67if (serviceType == typeof(ITextView)) 602/// <see cref="ITextView.GetTextPositionFromPoint"/> 604ITextPointer ITextView.GetTextPositionFromPoint(Point point, bool snapToText) 627/// <see cref="ITextView.GetRectangleFromTextPosition"/> 629Rect ITextView.GetRectangleFromTextPosition(ITextPointer position) 681/// <see cref="ITextView.GetRawRectangleFromTextPosition"/> 683Rect ITextView.GetRawRectangleFromTextPosition(ITextPointer position, out Transform transform) 687return ((ITextView)this).GetRectangleFromTextPosition(position); 691/// <see cref="ITextView.GetTightBoundingGeometryFromTextPositions"/> 693Geometry ITextView.GetTightBoundingGeometryFromTextPositions(ITextPointer startPosition, ITextPointer endPosition) 770/// <see cref="ITextView.GetPositionAtNextLine"/> 772ITextPointer ITextView.GetPositionAtNextLine(ITextPointer position, double suggestedX, int count, out double newSuggestedX, out int linesMoved) 802/// <see cref="ITextView.GetPositionAtNextPage"/> 804ITextPointer ITextView.GetPositionAtNextPage(ITextPointer position, Point suggestedOffset, int count, out Point newSuggestedOffset, out int pagesMoved) 817/// <see cref="ITextView.IsAtCaretUnitBoundary"/> 819bool ITextView.IsAtCaretUnitBoundary(ITextPointer position) 856/// <see cref="ITextView.GetNextCaretUnitPosition"/> 858ITextPointer ITextView.GetNextCaretUnitPosition(ITextPointer position, LogicalDirection direction) 933/// <see cref="ITextView.GetBackspaceCaretUnitPosition"/> 935ITextPointer ITextView.GetBackspaceCaretUnitPosition(ITextPointer position) 981/// <see cref="ITextView.GetLineRange"/> 983TextSegment ITextView.GetLineRange(ITextPointer position) 997/// <see cref="ITextView.GetGlyphRuns"/> 999ReadOnlyCollection<GlyphRun> ITextView.GetGlyphRuns(ITextPointer start, ITextPointer end) 1007/// <see cref="ITextView.Contains"/> 1009bool ITextView.Contains(ITextPointer position) 1015/// <see cref="ITextView.BringPositionIntoViewAsync"/> 1017void ITextView.BringPositionIntoViewAsync(ITextPointer position, object userState) 1026/// <see cref="ITextView.BringPointIntoViewAsync"/> 1028void ITextView.BringPointIntoViewAsync(Point point, object userState) 1037/// <see cref="ITextView.BringLineIntoViewAsync"/> 1039void ITextView.BringLineIntoViewAsync(ITextPointer position, double suggestedX, int count, object userState) 1048/// <see cref="ITextView.BringPageIntoViewAsync"/> 1050void ITextView.BringPageIntoViewAsync(ITextPointer position, Point suggestedOffset, int count, object userState) 1059/// <see cref="ITextView.CancelAsync"/> 1061void ITextView.CancelAsync(object userState) 1070/// <see cref="ITextView.Validate()"/> 1072bool ITextView.Validate() 1079/// <see cref="ITextView.Validate(Point)"/> 1081bool ITextView.Validate(Point point) 1083return ((ITextView)this).Validate(); 1087/// <see cref="ITextView.Validate(ITextPointer)"/> 1089bool ITextView.Validate(ITextPointer position) 1133/// <see cref="ITextView.ThrottleBackgroundTasksForUserInput"/> 1135void ITextView.ThrottleBackgroundTasksForUserInput() 1255/// <see cref="ITextView.RenderScope"/> 1257UIElement ITextView.RenderScope 1266/// <see cref="ITextView.TextContainer"/> 1268ITextContainer ITextView.TextContainer 1277/// <see cref="ITextView.IsValid"/> 1279bool ITextView.IsValid 1288/// <see cref="ITextView.RendersOwnSelection"/> 1290bool ITextView.RendersOwnSelection 1300/// <see cref="ITextView.TextSegments"/> 1302ReadOnlyCollection<TextSegment> ITextView.TextSegments 1329/// <see cref="ITextView.BringPositionIntoViewCompleted"/> 1333event BringPositionIntoViewCompletedEventHandler ITextView.BringPositionIntoViewCompleted 1340/// <see cref="ITextView.BringPointIntoViewCompleted"/> 1344event BringPointIntoViewCompletedEventHandler ITextView.BringPointIntoViewCompleted 1351/// <see cref="ITextView.BringLineIntoViewCompleted"/> 1355event BringLineIntoViewCompletedEventHandler ITextView.BringLineIntoViewCompleted 1362/// <see cref="ITextView.BringPageIntoViewCompleted"/> 1366event BringPageIntoViewCompletedEventHandler ITextView.BringPageIntoViewCompleted 1373/// <see cref="ITextView.Updated"/> 1375event EventHandler ITextView.Updated 1468&& (!((ITextView)this).RendersOwnSelection || args.OwnerType != typeof(TextSelection))) 1875bool shouldRenderSelection = ((ITextView)this).RendersOwnSelection 2896/// <see cref="ITextView.Contains"/>
src\Framework\MS\Internal\Documents\TextDocumentView.cs (15)
67/// <see cref="ITextView.GetTextPositionFromPoint"/> 87/// <see cref="ITextView.GetRawRectangleFromTextPosition"/> 231/// <see cref="ITextView.GetPositionAtNextLine"/> 285/// <see cref="ITextView.IsAtCaretUnitBoundary"/> 304/// <see cref="ITextView.GetNextCaretUnitPosition"/> 324/// <see cref="ITextView.GetBackspaceCaretUnitPosition"/> 343/// <see cref="ITextView.GetLineRange"/> 362/// <see cref="ITextView.GetGlyphRuns"/> 391/// <see cref="ITextView.Contains"/> 405/// <see cref="ITextView.Validate()"/> 413/// <see cref="ITextView.ThrottleBackgroundTasksForUserInput"/> 554/// <see cref="ITextView.RenderScope"/> 576/// <see cref="ITextView.TextContainer"/> 584/// <see cref="ITextView.IsValid"/> 592/// <see cref="ITextView.TextSegments"/>
src\Framework\MS\Internal\Documents\TextParagraphView.cs (13)
68/// <see cref="ITextView.GetTextPositionFromPoint"/> 88/// <see cref="ITextView.GetRectangleFromTextPosition"/> 145/// <see cref="ITextView.GetPositionAtNextLine"/> 211/// <see cref="ITextView.IsAtCaretUnitBoundary"/> 230/// <see cref="ITextView.GetNextCaretUnitPosition"/> 253/// <see cref="ITextView.GetBackspaceCaretUnitPosition"/> 276/// <see cref="ITextView.GetLineRange"/> 305/// <see cref="ITextView.Contains"/> 327/// <see cref="ITextView.Validate()"/> 480/// <see cref="ITextView.RenderScope"/> 488/// <see cref="ITextView.TextContainer"/> 496/// <see cref="ITextView.IsValid"/> 504/// <see cref="ITextView.TextSegments"/>
src\Framework\MS\Internal\Documents\TextViewBase.cs (84)
37/// <see cref="ITextView.GetTextPositionFromPoint"/> 42/// <see cref="ITextView.GetRectangleFromTextPosition"/> 62/// <see cref="ITextView.GetRawRectangleFromTextPosition"/> 67/// <see cref="ITextView.GetTightBoundingGeometryFromTextPositions"/> 72/// <see cref="ITextView.GetPositionAtNextLine"/> 77/// <see cref="ITextView.GetPositionAtNextLine"/> 87/// <see cref="ITextView.IsAtCaretUnitBoundary"/> 92/// <see cref="ITextView.GetNextCaretUnitPosition"/> 97/// <see cref="ITextView.GetBackspaceCaretUnitPosition"/> 102/// <see cref="ITextView.GetLineRange"/> 107/// <see cref="ITextView.GetGlyphRuns"/> 120/// <see cref="ITextView.Contains"/> 138internal static void BringRectIntoViewMinimally(ITextView textView, Rect rect) 178/// <see cref="ITextView.BringPositionIntoViewAsync"/> 191/// <see cref="ITextView.BringPointIntoViewAsync"/> 207/// <see cref="ITextView.BringLineIntoViewAsync"/> 225/// <see cref="ITextView.BringPageIntoViewAsync"/> 243/// <see cref="ITextView.CancelAsync"/> 250/// <see cref="ITextView.Validate()"/> 258/// <see cref="ITextView.Validate(Point)"/> 266/// <see cref="ITextView.Validate(ITextPointer)"/> 275/// <see cref="ITextView.ThrottleBackgroundTasksForUserInput"/> 292/// <see cref="ITextView.RenderScope"/> 297/// <see cref="ITextView.TextContainer"/> 302/// <see cref="ITextView.IsValid"/> 307/// <see cref="ITextView.RendersOwnSelection"/> 319/// <see cref="ITextView.TextSegments"/> 334/// <see cref="ITextView.BringPositionIntoViewCompleted"/> 339/// <see cref="ITextView.BringPointIntoViewCompleted"/> 344/// <see cref="ITextView.BringLineIntoViewCompleted"/> 349/// <see cref="ITextView.BringPageIntoViewCompleted"/> 354/// <see cref="ITextView.Updated"/> 467/// <see cref="ITextView.GetTextPositionFromPoint"/> 469ITextPointer ITextView.GetTextPositionFromPoint(Point point, bool snapToText) 475/// <see cref="ITextView.GetRectangleFromTextPosition"/> 477Rect ITextView.GetRectangleFromTextPosition(ITextPointer position) 483/// <see cref="ITextView.GetRawRectangleFromTextPosition"/> 485Rect ITextView.GetRawRectangleFromTextPosition(ITextPointer position, out Transform transform) 491/// <see cref="ITextView.GetTightBoundingGeometryFromTextPositions"/> 493Geometry ITextView.GetTightBoundingGeometryFromTextPositions(ITextPointer startPosition, ITextPointer endPosition) 499/// <see cref="ITextView.GetPositionAtNextLine"/> 501ITextPointer ITextView.GetPositionAtNextLine(ITextPointer position, double suggestedX, int count, out double newSuggestedX, out int linesMoved) 507/// <see cref="ITextView.GetPositionAtNextPage"/> 509ITextPointer ITextView.GetPositionAtNextPage(ITextPointer position, Point suggestedOffset, int count, out Point newSuggestedOffset, out int pagesMoved) 515/// <see cref="ITextView.IsAtCaretUnitBoundary"/> 517bool ITextView.IsAtCaretUnitBoundary(ITextPointer position) 523/// <see cref="ITextView.GetNextCaretUnitPosition"/> 525ITextPointer ITextView.GetNextCaretUnitPosition(ITextPointer position, LogicalDirection direction) 531/// <see cref="ITextView.GetBackspaceCaretUnitPosition"/> 533ITextPointer ITextView.GetBackspaceCaretUnitPosition(ITextPointer position) 539/// <see cref="ITextView.GetLineRange"/> 541TextSegment ITextView.GetLineRange(ITextPointer position) 547/// <see cref="ITextView.GetGlyphRuns"/> 549ReadOnlyCollection<GlyphRun> ITextView.GetGlyphRuns(ITextPointer start, ITextPointer end) 555/// <see cref="ITextView.Contains"/> 557bool ITextView.Contains(ITextPointer position) 563/// <see cref="ITextView.BringPositionIntoViewAsync"/> 565void ITextView.BringPositionIntoViewAsync(ITextPointer position, object userState) 571/// <see cref="ITextView.BringPointIntoViewAsync"/> 573void ITextView.BringPointIntoViewAsync(Point point, object userState) 579/// <see cref="ITextView.BringLineIntoViewAsync"/> 581void ITextView.BringLineIntoViewAsync(ITextPointer position, double suggestedX, int count, object userState) 587/// <see cref="ITextView.BringLineIntoViewAsync"/> 589void ITextView.BringPageIntoViewAsync(ITextPointer position, Point suggestedOffset, int count, object userState) 595/// <see cref="ITextView.CancelAsync"/> 597void ITextView.CancelAsync(object userState) 603/// <see cref="ITextView.Validate()"/> 605bool ITextView.Validate() 611/// <see cref="ITextView.Validate(Point)"/> 613bool ITextView.Validate(Point point) 619/// <see cref="ITextView.Validate(ITextPointer)"/> 621bool ITextView.Validate(ITextPointer position) 627/// <see cref="ITextView.ThrottleBackgroundTasksForUserInput"/> 629void ITextView.ThrottleBackgroundTasksForUserInput() 635/// <see cref="ITextView.RenderScope"/> 637UIElement ITextView.RenderScope 643/// <see cref="ITextView.TextContainer"/> 645ITextContainer ITextView.TextContainer 651/// <see cref="ITextView.IsValid"/> 653bool ITextView.IsValid 659/// <see cref="ITextView.RendersOwnSelection"/> 661bool ITextView.RendersOwnSelection 667/// <see cref="ITextView.TextSegments"/> 669ReadOnlyCollection<TextSegment> ITextView.TextSegments
src\Framework\MS\Internal\LayoutDump.cs (1)
592TextDocumentView tv = (TextDocumentView)((IServiceProvider)flowDocumentPage).GetService(typeof(ITextView));
src\Framework\MS\Internal\PtsHost\BreakRecordTable.cs (3)
256ITextView textView; 265textView = (ITextView)((IServiceProvider)page).GetService(typeof(ITextView));
src\Framework\MS\Internal\PtsHost\FlowDocumentPage.cs (7)
374Invariant.Assert(_textView != null && ((ITextView)_textView).TextSegments.Count > 0); 375return new HostedElements(((ITextView)_textView).TextSegments); 1015for (int segmentIndex = 0; segmentIndex < ((ITextView)_textView).TextSegments.Count; segmentIndex++) 1017if (((ITextPointer)elementPosition).CompareTo(((ITextView)_textView).TextSegments[segmentIndex].Start) >= 0 && 1018((ITextPointer)elementPosition).CompareTo(((ITextView)_textView).TextSegments[segmentIndex].End) < 0) 1073TextDocumentView textView = (TextDocumentView)((IServiceProvider)this).GetService(typeof(ITextView)); 1184if (serviceType == typeof(ITextView))
src\Framework\System\Windows\Annotations\AnnotationService.cs (4)
290ITextView textView = GetTextView(document); 817ITextView textView = GetTextView(document); 1158static private ITextView GetTextView(IDocumentPaginatorSource document) 1160ITextView textView = null;
src\Framework\System\Windows\Automation\Peers\DocumentAutomationPeer.cs (2)
132ITextView textView = _textContainer?.TextView; 236ITextView textView = (textContainer != null) ? textContainer.TextView : null;
src\Framework\System\Windows\Automation\Peers\TextElementAutomationPeer.cs (5)
61ITextView textView = textElement.TextContainer.TextView; 114ITextView textView = textElement.TextContainer.TextView; 168ITextView textView = textElement.TextContainer.TextView; 187private Rect CalculateVisibleRect(ITextView textView, TextElement textElement, TextPointer startPointer, TextPointer endPointer) 240ITextView textView = textElement?.TextContainer?.TextView;
src\Framework\System\Windows\Controls\FlowDocumentScrollViewer.cs (8)
853ITextView textView = GetTextView(); 914ITextView textView = GetTextView(); 987ITextView textView = null; 1289private ITextView GetTextView() 1291ITextView textView = null; 1294textView = (ITextView)((IServiceProvider)RenderScope).GetService(typeof(ITextView)); 1910if (serviceType == typeof(ITextView))
src\Framework\System\Windows\Controls\PasswordBox.cs (2)
1057ITextView textview = TextEditor.GetTextView(_renderScope); 1276if ((textBoxView as ITextView)?.RendersOwnSelection == true)
src\Framework\System\Windows\Controls\PasswordTextContainer.cs (3)
467ITextView ITextContainer.TextView 481internal ITextView TextView 961private ITextView _textview;
src\Framework\System\Windows\Controls\Primitives\BulletDecorator.cs (1)
348TextDocumentView tdv = ((IServiceProvider)text).GetService(typeof(ITextView)) as TextDocumentView;
src\Framework\System\Windows\Controls\Primitives\DocumentPageView.cs (1)
528if (serviceType == typeof(ITextView))
src\Framework\System\Windows\Controls\Primitives\DocumentViewerBase.cs (7)
716ITextView masterPageTextView = null; 720masterPageTextView = ((IServiceProvider)masterPage).GetService(typeof(ITextView)) as ITextView; 794ITextView textView = null; 799textView = ((IServiceProvider)masterPage).GetService(typeof(ITextView)) as ITextView; 1798if (serviceType == typeof(ITextView))
src\Framework\System\Windows\Controls\Primitives\TextBoxBase.cs (4)
1922ITextView textView = (ITextView)((IServiceProvider)_renderScope).GetService(typeof(ITextView)); 2251if ((textBoxView as ITextView)?.RendersOwnSelection == true)
src\Framework\System\Windows\Controls\TextAdaptor.cs (7)
102ITextView textView = GetUpdatedTextView(); 181internal ITextView GetUpdatedTextView() 183ITextView textView = _textContainer.TextView; 233ITextView textView = GetUpdatedTextView(); 324private Rect GetVisibleRectangle(ITextView textView) 499ITextView textView = GetUpdatedTextView(); 651ITextView textView = GetUpdatedTextView();
src\Framework\System\Windows\Controls\TextBlock.cs (3)
298if (serviceType == typeof(ITextView)) 426if (((ITextView)_complexContent.TextView).Validate(point)) 2799internal ITextView TextView
src\Framework\System\Windows\Controls\TextRangeAdaptor.cs (7)
532ITextView textView; 680ITextView pageTextView = textView; 697ITextView pageTextView = textView; 738ITextView textView; 918ITextView pageTextView = textView; 1002ITextView textView; 1145ITextView pageTextView = ((MultiPageTextView)textView).GetPageTextViewFromPosition(position);
src\Framework\System\Windows\Documents\CompositionAdorner.cs (6)
45internal CompositionAdorner(ITextView textView) : this(textView, new ArrayList()) 58internal CompositionAdorner(ITextView textView, ArrayList attributeRanges) 364internal void Initialize(ITextView textView) 404private ITextView _textView; 460internal AttributeRange(ITextView textView, ITextPointer start, ITextPointer end, TextServicesDisplayAttribute textServicesDisplayAttribute) 649private ITextView _textView;
src\Framework\System\Windows\Documents\DocumentSequence.cs (1)
1123if (serviceType == typeof(ITextView))
src\Framework\System\Windows\Documents\DocumentSequenceTextContainer.cs (2)
298ITextView ITextContainer.TextView 835private ITextView _textview;
src\Framework\System\Windows\Documents\DocumentSequenceTextPointer.cs (1)
368ITextView textView = ((ITextPointer)this).TextContainer.TextView;
src\Framework\System\Windows\Documents\DocumentSequenceTextView.cs (8)
486return ((ITextView)this).IsValid; 489/// <see cref="ITextView.Validate(Point)"/> 497return ((ITextView)this).IsValid; 555/// <see cref="ITextView.RendersOwnSelection"/> 601private ITextView ChildTextView 610_childTextView = (ITextView)isp.GetService(typeof(ITextView)); 648private ITextView _childTextView;
src\Framework\System\Windows\Documents\FixedDocument.cs (1)
1432if (serviceType == typeof(ITextView))
src\Framework\System\Windows\Documents\FixedTextContainer.cs (2)
267ITextView ITextContainer.TextView 673private ITextView _textview;
src\Framework\System\Windows\Documents\FixedTextPointer.cs (1)
591ITextView textView = ((ITextPointer)this).TextContainer.TextView;
src\Framework\System\Windows\Documents\FixedTextView.cs (1)
722/// <see cref="ITextView.RendersOwnSelection"/>
src\Framework\System\Windows\Documents\ImmComposition.cs (3)
709ITextView view; 822ITextView view; 1817ITextView view;
src\Framework\System\Windows\Documents\ITextContainer.cs (1)
142ITextView TextView { get; set; }
src\Framework\System\Windows\Documents\ITextSelection.cs (1)
162ITextView TextView { get; }
src\Framework\System\Windows\Documents\NullTextContainer.cs (1)
250ITextView ITextContainer.TextView
src\Framework\System\Windows\Documents\TextContainer.cs (3)
1791ITextView ITextContainer.TextView 1805internal ITextView TextView 3673private ITextView _textview;
src\Framework\System\windows\Documents\TextEditor.cs (7)
314internal static ITextView GetTextView(UIElement scope) 318return (serviceProvider != null) ? serviceProvider.GetService(typeof(ITextView)) as ITextView : null; 882internal ITextView TextView 1521Invariant.Assert(sender is ITextView); 1522((ITextView)sender).BringPointIntoViewCompleted -= new BringPointIntoViewCompletedEventHandler(HandleBringPointIntoViewCompleted); 2042private ITextView _textView;
src\Framework\System\windows\Documents\TextEditorDragDrop.cs (1)
711private ITextView TextView
src\Framework\System\windows\Documents\TextEditorSelection.cs (12)
126internal static TextSegment GetNormalizedLineRange(ITextView textView, ITextPointer position) 150internal static bool IsPaginated(ITextView textview) 1789Invariant.Assert(sender is ITextView); 1790((ITextView)sender).BringLineIntoViewCompleted -= new BringLineIntoViewCompletedEventHandler(HandleMoveByLineCompleted); 1819Invariant.Assert(sender is ITextView); 1820((ITextView)sender).BringPageIntoViewCompleted -= new BringPageIntoViewCompletedEventHandler(HandleMoveByPageCompleted); 1851Invariant.Assert(sender is ITextView); 1852((ITextView)sender).BringLineIntoViewCompleted -= new BringLineIntoViewCompletedEventHandler(HandleSelectByLineCompleted); 1914Invariant.Assert(sender is ITextView); 1915((ITextView)sender).BringPageIntoViewCompleted -= new BringPageIntoViewCompletedEventHandler(HandleSelectByPageCompleted); 2464private static double GetAbsoluteXOffset(ITextView textview, ITextPointer position) 2485private static double GetViewportXOffset(ITextView textview, double suggestedX)
src\Framework\System\Windows\Documents\TextPointerBase.cs (5)
687internal static bool IsAtLineWrappingPosition(ITextPointer position, ITextView textView) 803internal static int MoveToLineBoundary(ITextPointer thisPointer, ITextView textView, int count) 809internal static int MoveToLineBoundary(ITextPointer thisPointer, ITextView textView, int count, bool respectNonMeargeableInlineStart) 869ITextView textView = thisPointer.TextContainer.TextView; 1122internal static bool ValidateLayout(ITextPointer thisPointer, ITextView textView)
src\Framework\System\Windows\Documents\TextRangeEditTables.cs (4)
1568internal static bool TableBorderHitTest(ITextView textView, Point pt) 1580ITextView textView, Point point, 1657internal static TableColumnResizeInfo StartColumnResize(ITextView textView, Point pt) 1691internal TableColumnResizeInfo(ITextView textView, Table table, int columnIndex, Rect columnRect, double tableAutofitWidth, double[] columnWidths)
src\Framework\System\windows\Documents\TextSelection.cs (2)
2643ITextView ITextSelection.TextView 2651private ITextView TextView
src\Framework\System\Windows\Documents\TextStore.cs (6)
814ITextView view; 890ITextView view; 1006ITextView view; 1977internal ITextView TextView 2477private void GetVisualInfo(out PresentationSource source, out IWin32Window win32Window, out ITextView view) 2913ITextView view;