2 implementations of ITextView
PresentationFramework (2)
MS\Internal\Documents\TextBoxView.cs (1)
22internal class TextBoxView : FrameworkElement, ITextView, IScrollInfo, IServiceProvider
MS\Internal\Documents\TextViewBase.cs (1)
21internal abstract class TextViewBase : ITextView
426 references to ITextView
PresentationFramework (426)
MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (6)
288ITextView tv = (ITextView)((IServiceProvider)docPage).GetService(typeof(ITextView)); 588ITextView textView; 594textView = ((IServiceProvider)documentPage).GetService(typeof(ITextView)) as ITextView;
MS\Internal\Annotations\Anchoring\TextSelectionHelper.cs (24)
293ITextView textView = GetDocumentPageTextView(pointer); 383internal static ITextView GetDocumentPageTextView(ITextPointer pointer) 395return provider.GetService(typeof(ITextView)) as ITextView; 405return isp.GetService(typeof(ITextView)) as ITextView; 416internal static List<ITextView> GetDocumentPageTextViews(TextSegment segment) 418List<ITextView> res = null; 433res = new List<ITextView>(1); 434res.Add(provider.GetService(typeof(ITextView)) as ITextView); 447res = new List<ITextView>(0); 477private static List<ITextView> ProcessSinglePage(IDocumentPaginatorSource idp, int pageNumber) 483List<ITextView> res = null; 486res = new List<ITextView>(1); 487ITextView view = isp.GetService(typeof(ITextView)) as ITextView; 503private static List<ITextView> ProcessMultiplePages(IDocumentPaginatorSource idp, int startPageNumber, int endPageNumber) 520List<ITextView> res = null; 523res = new List<ITextView>(endPageNumber - startPageNumber + 1); 532ITextView textView = serviceProvider.GetService(typeof(ITextView)) as ITextView;
MS\Internal\Annotations\Anchoring\TextSelectionProcessor.cs (3)
252ITextView textView = null; 265textView = serviceProvider.GetService(typeof(ITextView)) as ITextView;
MS\Internal\Annotations\Anchoring\TextViewSelectionProcessor.cs (6)
128ITextView textView = VerifySelection(selection); 220internal static TextRange GetTextViewTextRange(ITextView textView, out int startOffset, out int endOffset) 258private ITextView VerifySelection(object selection) 266ITextView textView = provider.GetService(typeof(ITextView)) as ITextView;
MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (6)
915private void GetSegmentGeometry(GeometryGroup geometry, TextSegment segment, ITextView parentView) 917List<ITextView> textViews = TextSelectionHelper.GetDocumentPageTextViews(segment); 920foreach (ITextView view in textViews) 935private Geometry GetPageGeometry(TextSegment segment, ITextView view, ITextView parentView) 1099ITextView parentView = TextSelectionHelper.GetDocumentPageTextView(TopOwner.Range.Start.CreatePointer(LogicalDirection.Forward));
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (5)
418ITextView startView = TextSelectionHelper.GetDocumentPageTextView(baseAnchor); 419ITextView endView = TextSelectionHelper.GetDocumentPageTextView(anchor); 932ITextView textView = (ITextView)service.GetService(typeof(ITextView));
MS\Internal\Documents\ContentHostHelper.cs (3)
88ITextView textView = flowDocument.StructuralCache.TextContainer.TextView; 113textView = (ITextView)((IServiceProvider)pageViews[i].DocumentPage).GetService(typeof(ITextView));
MS\Internal\Documents\DocumentGrid.cs (2)
908public ITextView TextView 2565((IServiceProvider)pageView).GetService(typeof(ITextView)) as DocumentPageTextView;
MS\Internal\Documents\DocumentPageTextView.cs (25)
48_pageTextView = ((IServiceProvider)_page).GetService(typeof(ITextView)) as ITextView; 74_pageTextView = ((IServiceProvider)_page).GetService(typeof(ITextView)) as ITextView; 93/// <see cref="ITextView.GetTextPositionFromPoint"/> 112/// <see cref="ITextView.GetRawRectangleFromTextPosition"/> 166/// <see cref="ITextView.GetPositionAtNextLine"/> 195/// <see cref="ITextView.GetPositionAtNextPage"/> 236/// <see cref="ITextView.IsAtCaretUnitBoundary"/> 253/// <see cref="ITextView.GetNextCaretUnitPosition"/> 270/// <see cref="ITextView.GetBackspaceCaretUnitPosition"/> 287/// <see cref="ITextView.GetLineRange"/> 304/// <see cref="ITextView.GetGlyphRuns"/> 321/// <see cref="ITextView.Contains"/> 354_pageTextView = ((IServiceProvider)_page).GetService(typeof(ITextView)) as ITextView; 391/// <see cref="ITextView.Validate()"/> 403/// <see cref="ITextView.Validate(ITextPointer)"/> 448/// <see cref="ITextView.ThrottleBackgroundTasksForUserInput"/> 471/// <see cref="ITextView.RenderScope"/> 479/// <see cref="ITextView.TextContainer"/> 487/// <see cref="ITextView.IsValid"/> 506/// <see cref="ITextView.RendersOwnSelection"/> 522/// <see cref="ITextView.TextSegments"/> 715private ITextView _pageTextView;
MS\Internal\Documents\DocumentViewerHelper.cs (3)
75internal static ITextRange Find(FindToolBar findToolBar, TextEditor textEditor, ITextView textView, ITextView masterPageTextView) 411ITextView textView = textContainer.TextView;
MS\Internal\Documents\FlowDocumentPaginator.cs (3)
345ITextView textView; 378textView = (ITextView)((IServiceProvider)flowDocumentPage).GetService(typeof(ITextView));
MS\Internal\Documents\FlowDocumentView.cs (1)
679if (serviceType == typeof(ITextView))
MS\Internal\Documents\IDocumentScrollInfo.cs (1)
184ITextView TextView { get; }
MS\Internal\Documents\MultiPageTextView.cs (24)
87/// <see cref="ITextView.GetTextPositionFromPoint"/> 111/// <see cref="ITextView.GetRawRectangleFromTextPosition"/> 183/// <see cref="ITextView.GetPositionAtNextLine"/> 198/// <see cref="ITextView.GetPositionAtNextPage"/> 211/// <see cref="ITextView.IsAtCaretUnitBoundary"/> 233/// <see cref="ITextView.GetNextCaretUnitPosition"/> 255/// <see cref="ITextView.GetBackspaceCaretUnitPosition"/> 277/// <see cref="ITextView.GetBackspaceCaretUnitPosition"/> 299/// <see cref="ITextView.Contains"/> 312/// <see cref="ITextView.BringPositionIntoViewAsync"/> 373/// <see cref="ITextView.BringPointIntoViewAsync"/> 475/// <see cref="ITextView.BringLineIntoViewAsync"/> 498/// <see cref="ITextView.BringLineIntoViewAsync"/> 522/// <see cref="ITextView.CancelAsync"/> 600internal ITextView GetPageTextViewFromPosition(ITextPointer position) 621/// <see cref="ITextView.RenderScope"/> 629/// <see cref="ITextView.TextContainer"/> 637/// <see cref="ITextView.IsValid"/> 662/// <see cref="ITextView.RendersOwnSelection"/> 678/// <see cref="ITextView.TextSegments"/> 729pageTextView = ((IServiceProvider)pageViews[index]).GetService(typeof(ITextView)) as DocumentPageTextView; 859/// <see cref="ITextView.GetPositionAtNextLine"/> 1019private ITextPointer GetPositionAtPageBoundary(bool pageTop, ITextView pageTextView, ITextPointer position, double suggestedX) 1359ITextView pageTextView;
MS\Internal\Documents\TextBoxView.cs (68)
62if (serviceType == typeof(ITextView)) 547/// <see cref="ITextView.GetTextPositionFromPoint"/> 549ITextPointer ITextView.GetTextPositionFromPoint(Point point, bool snapToText) 572/// <see cref="ITextView.GetRectangleFromTextPosition"/> 574Rect ITextView.GetRectangleFromTextPosition(ITextPointer position) 626/// <see cref="ITextView.GetRawRectangleFromTextPosition"/> 628Rect ITextView.GetRawRectangleFromTextPosition(ITextPointer position, out Transform transform) 632return ((ITextView)this).GetRectangleFromTextPosition(position); 636/// <see cref="ITextView.GetTightBoundingGeometryFromTextPositions"/> 638Geometry ITextView.GetTightBoundingGeometryFromTextPositions(ITextPointer startPosition, ITextPointer endPosition) 715/// <see cref="ITextView.GetPositionAtNextLine"/> 717ITextPointer ITextView.GetPositionAtNextLine(ITextPointer position, double suggestedX, int count, out double newSuggestedX, out int linesMoved) 747/// <see cref="ITextView.GetPositionAtNextPage"/> 749ITextPointer ITextView.GetPositionAtNextPage(ITextPointer position, Point suggestedOffset, int count, out Point newSuggestedOffset, out int pagesMoved) 762/// <see cref="ITextView.IsAtCaretUnitBoundary"/> 764bool ITextView.IsAtCaretUnitBoundary(ITextPointer position) 801/// <see cref="ITextView.GetNextCaretUnitPosition"/> 803ITextPointer ITextView.GetNextCaretUnitPosition(ITextPointer position, LogicalDirection direction) 878/// <see cref="ITextView.GetBackspaceCaretUnitPosition"/> 880ITextPointer ITextView.GetBackspaceCaretUnitPosition(ITextPointer position) 926/// <see cref="ITextView.GetLineRange"/> 928TextSegment ITextView.GetLineRange(ITextPointer position) 942/// <see cref="ITextView.GetGlyphRuns"/> 944ReadOnlyCollection<GlyphRun> ITextView.GetGlyphRuns(ITextPointer start, ITextPointer end) 952/// <see cref="ITextView.Contains"/> 954bool ITextView.Contains(ITextPointer position) 960/// <see cref="ITextView.BringPositionIntoViewAsync"/> 962void ITextView.BringPositionIntoViewAsync(ITextPointer position, object userState) 971/// <see cref="ITextView.BringPointIntoViewAsync"/> 973void ITextView.BringPointIntoViewAsync(Point point, object userState) 982/// <see cref="ITextView.BringLineIntoViewAsync"/> 984void ITextView.BringLineIntoViewAsync(ITextPointer position, double suggestedX, int count, object userState) 993/// <see cref="ITextView.BringPageIntoViewAsync"/> 995void ITextView.BringPageIntoViewAsync(ITextPointer position, Point suggestedOffset, int count, object userState) 1004/// <see cref="ITextView.CancelAsync"/> 1006void ITextView.CancelAsync(object userState) 1015/// <see cref="ITextView.Validate()"/> 1017bool ITextView.Validate() 1024/// <see cref="ITextView.Validate(Point)"/> 1026bool ITextView.Validate(Point point) 1028return ((ITextView)this).Validate(); 1032/// <see cref="ITextView.Validate(ITextPointer)"/> 1034bool ITextView.Validate(ITextPointer position) 1078/// <see cref="ITextView.ThrottleBackgroundTasksForUserInput"/> 1080void ITextView.ThrottleBackgroundTasksForUserInput() 1204/// <see cref="ITextView.RenderScope"/> 1206UIElement ITextView.RenderScope 1215/// <see cref="ITextView.TextContainer"/> 1217ITextContainer ITextView.TextContainer 1226/// <see cref="ITextView.IsValid"/> 1228bool ITextView.IsValid 1237/// <see cref="ITextView.RendersOwnSelection"/> 1239bool ITextView.RendersOwnSelection 1249/// <see cref="ITextView.TextSegments"/> 1251ReadOnlyCollection<TextSegment> ITextView.TextSegments 1278/// <see cref="ITextView.BringPositionIntoViewCompleted"/> 1282event BringPositionIntoViewCompletedEventHandler ITextView.BringPositionIntoViewCompleted 1289/// <see cref="ITextView.BringPointIntoViewCompleted"/> 1293event BringPointIntoViewCompletedEventHandler ITextView.BringPointIntoViewCompleted 1300/// <see cref="ITextView.BringLineIntoViewCompleted"/> 1304event BringLineIntoViewCompletedEventHandler ITextView.BringLineIntoViewCompleted 1311/// <see cref="ITextView.BringPageIntoViewCompleted"/> 1315event BringPageIntoViewCompletedEventHandler ITextView.BringPageIntoViewCompleted 1322/// <see cref="ITextView.Updated"/> 1324event EventHandler ITextView.Updated 1419&& (!((ITextView)this).RendersOwnSelection || args.OwnerType != typeof(TextSelection))) 1828bool shouldRenderSelection = ((ITextView)this).RendersOwnSelection 2857/// <see cref="ITextView.Contains"/>
MS\Internal\Documents\TextDocumentView.cs (15)
57/// <see cref="ITextView.GetTextPositionFromPoint"/> 77/// <see cref="ITextView.GetRawRectangleFromTextPosition"/> 220/// <see cref="ITextView.GetPositionAtNextLine"/> 274/// <see cref="ITextView.IsAtCaretUnitBoundary"/> 293/// <see cref="ITextView.GetNextCaretUnitPosition"/> 313/// <see cref="ITextView.GetBackspaceCaretUnitPosition"/> 332/// <see cref="ITextView.GetLineRange"/> 351/// <see cref="ITextView.GetGlyphRuns"/> 380/// <see cref="ITextView.Contains"/> 394/// <see cref="ITextView.Validate()"/> 402/// <see cref="ITextView.ThrottleBackgroundTasksForUserInput"/> 543/// <see cref="ITextView.RenderScope"/> 565/// <see cref="ITextView.TextContainer"/> 573/// <see cref="ITextView.IsValid"/> 581/// <see cref="ITextView.TextSegments"/>
MS\Internal\Documents\TextParagraphView.cs (13)
54/// <see cref="ITextView.GetTextPositionFromPoint"/> 74/// <see cref="ITextView.GetRectangleFromTextPosition"/> 122/// <see cref="ITextView.GetPositionAtNextLine"/> 185/// <see cref="ITextView.IsAtCaretUnitBoundary"/> 204/// <see cref="ITextView.GetNextCaretUnitPosition"/> 227/// <see cref="ITextView.GetBackspaceCaretUnitPosition"/> 250/// <see cref="ITextView.GetLineRange"/> 276/// <see cref="ITextView.Contains"/> 295/// <see cref="ITextView.Validate()"/> 448/// <see cref="ITextView.RenderScope"/> 456/// <see cref="ITextView.TextContainer"/> 464/// <see cref="ITextView.IsValid"/> 472/// <see cref="ITextView.TextSegments"/>
MS\Internal\Documents\TextViewBase.cs (84)
32/// <see cref="ITextView.GetTextPositionFromPoint"/> 37/// <see cref="ITextView.GetRectangleFromTextPosition"/> 57/// <see cref="ITextView.GetRawRectangleFromTextPosition"/> 62/// <see cref="ITextView.GetTightBoundingGeometryFromTextPositions"/> 67/// <see cref="ITextView.GetPositionAtNextLine"/> 72/// <see cref="ITextView.GetPositionAtNextLine"/> 82/// <see cref="ITextView.IsAtCaretUnitBoundary"/> 87/// <see cref="ITextView.GetNextCaretUnitPosition"/> 92/// <see cref="ITextView.GetBackspaceCaretUnitPosition"/> 97/// <see cref="ITextView.GetLineRange"/> 102/// <see cref="ITextView.GetGlyphRuns"/> 115/// <see cref="ITextView.Contains"/> 133internal static void BringRectIntoViewMinimally(ITextView textView, Rect rect) 173/// <see cref="ITextView.BringPositionIntoViewAsync"/> 186/// <see cref="ITextView.BringPointIntoViewAsync"/> 202/// <see cref="ITextView.BringLineIntoViewAsync"/> 220/// <see cref="ITextView.BringPageIntoViewAsync"/> 238/// <see cref="ITextView.CancelAsync"/> 245/// <see cref="ITextView.Validate()"/> 253/// <see cref="ITextView.Validate(Point)"/> 261/// <see cref="ITextView.Validate(ITextPointer)"/> 270/// <see cref="ITextView.ThrottleBackgroundTasksForUserInput"/> 287/// <see cref="ITextView.RenderScope"/> 292/// <see cref="ITextView.TextContainer"/> 297/// <see cref="ITextView.IsValid"/> 302/// <see cref="ITextView.RendersOwnSelection"/> 314/// <see cref="ITextView.TextSegments"/> 329/// <see cref="ITextView.BringPositionIntoViewCompleted"/> 334/// <see cref="ITextView.BringPointIntoViewCompleted"/> 339/// <see cref="ITextView.BringLineIntoViewCompleted"/> 344/// <see cref="ITextView.BringPageIntoViewCompleted"/> 349/// <see cref="ITextView.Updated"/> 462/// <see cref="ITextView.GetTextPositionFromPoint"/> 464ITextPointer ITextView.GetTextPositionFromPoint(Point point, bool snapToText) 470/// <see cref="ITextView.GetRectangleFromTextPosition"/> 472Rect ITextView.GetRectangleFromTextPosition(ITextPointer position) 478/// <see cref="ITextView.GetRawRectangleFromTextPosition"/> 480Rect ITextView.GetRawRectangleFromTextPosition(ITextPointer position, out Transform transform) 486/// <see cref="ITextView.GetTightBoundingGeometryFromTextPositions"/> 488Geometry ITextView.GetTightBoundingGeometryFromTextPositions(ITextPointer startPosition, ITextPointer endPosition) 494/// <see cref="ITextView.GetPositionAtNextLine"/> 496ITextPointer ITextView.GetPositionAtNextLine(ITextPointer position, double suggestedX, int count, out double newSuggestedX, out int linesMoved) 502/// <see cref="ITextView.GetPositionAtNextPage"/> 504ITextPointer ITextView.GetPositionAtNextPage(ITextPointer position, Point suggestedOffset, int count, out Point newSuggestedOffset, out int pagesMoved) 510/// <see cref="ITextView.IsAtCaretUnitBoundary"/> 512bool ITextView.IsAtCaretUnitBoundary(ITextPointer position) 518/// <see cref="ITextView.GetNextCaretUnitPosition"/> 520ITextPointer ITextView.GetNextCaretUnitPosition(ITextPointer position, LogicalDirection direction) 526/// <see cref="ITextView.GetBackspaceCaretUnitPosition"/> 528ITextPointer ITextView.GetBackspaceCaretUnitPosition(ITextPointer position) 534/// <see cref="ITextView.GetLineRange"/> 536TextSegment ITextView.GetLineRange(ITextPointer position) 542/// <see cref="ITextView.GetGlyphRuns"/> 544ReadOnlyCollection<GlyphRun> ITextView.GetGlyphRuns(ITextPointer start, ITextPointer end) 550/// <see cref="ITextView.Contains"/> 552bool ITextView.Contains(ITextPointer position) 558/// <see cref="ITextView.BringPositionIntoViewAsync"/> 560void ITextView.BringPositionIntoViewAsync(ITextPointer position, object userState) 566/// <see cref="ITextView.BringPointIntoViewAsync"/> 568void ITextView.BringPointIntoViewAsync(Point point, object userState) 574/// <see cref="ITextView.BringLineIntoViewAsync"/> 576void ITextView.BringLineIntoViewAsync(ITextPointer position, double suggestedX, int count, object userState) 582/// <see cref="ITextView.BringLineIntoViewAsync"/> 584void ITextView.BringPageIntoViewAsync(ITextPointer position, Point suggestedOffset, int count, object userState) 590/// <see cref="ITextView.CancelAsync"/> 592void ITextView.CancelAsync(object userState) 598/// <see cref="ITextView.Validate()"/> 600bool ITextView.Validate() 606/// <see cref="ITextView.Validate(Point)"/> 608bool ITextView.Validate(Point point) 614/// <see cref="ITextView.Validate(ITextPointer)"/> 616bool ITextView.Validate(ITextPointer position) 622/// <see cref="ITextView.ThrottleBackgroundTasksForUserInput"/> 624void ITextView.ThrottleBackgroundTasksForUserInput() 630/// <see cref="ITextView.RenderScope"/> 632UIElement ITextView.RenderScope 638/// <see cref="ITextView.TextContainer"/> 640ITextContainer ITextView.TextContainer 646/// <see cref="ITextView.IsValid"/> 648bool ITextView.IsValid 654/// <see cref="ITextView.RendersOwnSelection"/> 656bool ITextView.RendersOwnSelection 662/// <see cref="ITextView.TextSegments"/> 664ReadOnlyCollection<TextSegment> ITextView.TextSegments
MS\Internal\LayoutDump.cs (1)
587TextDocumentView tv = (TextDocumentView)((IServiceProvider)flowDocumentPage).GetService(typeof(ITextView));
MS\Internal\PtsHost\BreakRecordTable.cs (3)
251ITextView textView; 260textView = (ITextView)((IServiceProvider)page).GetService(typeof(ITextView));
MS\Internal\PtsHost\FlowDocumentPage.cs (7)
363Invariant.Assert(_textView != null && ((ITextView)_textView).TextSegments.Count > 0); 364return new HostedElements(((ITextView)_textView).TextSegments); 978for (int segmentIndex = 0; segmentIndex < ((ITextView)_textView).TextSegments.Count; segmentIndex++) 980if (((ITextPointer)elementPosition).CompareTo(((ITextView)_textView).TextSegments[segmentIndex].Start) >= 0 && 981((ITextPointer)elementPosition).CompareTo(((ITextView)_textView).TextSegments[segmentIndex].End) < 0) 1033TextDocumentView textView = (TextDocumentView)((IServiceProvider)this).GetService(typeof(ITextView)); 1141if (serviceType == typeof(ITextView))
System\Windows\Annotations\AnnotationService.cs (4)
260ITextView textView = GetTextView(document); 767ITextView textView = GetTextView(document); 1102private static ITextView GetTextView(IDocumentPaginatorSource document) 1104ITextView textView = null;
System\Windows\Automation\Peers\DocumentAutomationPeer.cs (2)
127ITextView textView = _textContainer?.TextView; 219ITextView textView = textContainer?.TextView;
System\Windows\Automation\Peers\TextElementAutomationPeer.cs (5)
48ITextView textView = textElement.TextContainer.TextView; 95ITextView textView = textElement.TextContainer.TextView; 149ITextView textView = textElement.TextContainer.TextView; 168private Rect CalculateVisibleRect(ITextView textView, TextElement textElement, TextPointer startPointer, TextPointer endPointer) 221ITextView textView = textElement?.TextContainer?.TextView;
System\Windows\Controls\FlowDocumentScrollViewer.cs (8)
836ITextView textView = GetTextView(); 897ITextView textView = GetTextView(); 965ITextView textView = null; 1254private ITextView GetTextView() 1256ITextView textView = null; 1259textView = (ITextView)((IServiceProvider)RenderScope).GetService(typeof(ITextView)); 1841if (serviceType == typeof(ITextView))
System\Windows\Controls\PasswordBox.cs (2)
1020ITextView textview = TextEditor.GetTextView(_renderScope); 1209if ((textBoxView as ITextView)?.RendersOwnSelection == true)
System\Windows\Controls\PasswordTextContainer.cs (3)
457ITextView ITextContainer.TextView 471internal ITextView TextView 951private ITextView _textview;
System\Windows\Controls\Primitives\BulletDecorator.cs (1)
340TextDocumentView tdv = ((IServiceProvider)text).GetService(typeof(ITextView)) as TextDocumentView;
System\Windows\Controls\Primitives\DocumentPageView.cs (1)
521if (serviceType == typeof(ITextView))
System\Windows\Controls\Primitives\DocumentViewerBase.cs (7)
684ITextView masterPageTextView = null; 688masterPageTextView = ((IServiceProvider)masterPage).GetService(typeof(ITextView)) as ITextView; 762ITextView textView = null; 767textView = ((IServiceProvider)masterPage).GetService(typeof(ITextView)) as ITextView; 1744if (serviceType == typeof(ITextView))
System\Windows\Controls\Primitives\TextBoxBase.cs (4)
1811ITextView textView = (ITextView)((IServiceProvider)_renderScope).GetService(typeof(ITextView)); 2129if ((textBoxView as ITextView)?.RendersOwnSelection == true)
System\Windows\Controls\TextAdaptor.cs (7)
90ITextView textView = GetUpdatedTextView(); 172internal ITextView GetUpdatedTextView() 174ITextView textView = _textContainer.TextView; 221ITextView textView = GetUpdatedTextView(); 335private Rect GetVisibleRectangle(ITextView textView) 508ITextView textView = GetUpdatedTextView(); 657ITextView textView = GetUpdatedTextView();
System\Windows\Controls\TextBlock.cs (3)
270if (serviceType == typeof(ITextView)) 395if (((ITextView)_complexContent.TextView).Validate(point)) 2688internal ITextView TextView
System\Windows\Controls\TextRangeAdaptor.cs (7)
521ITextView textView; 669ITextView pageTextView = textView; 686ITextView pageTextView = textView; 727ITextView textView; 907ITextView pageTextView = textView; 990ITextView textView; 1133ITextView pageTextView = ((MultiPageTextView)textView).GetPageTextViewFromPosition(position);
System\Windows\Documents\CompositionAdorner.cs (6)
39internal CompositionAdorner(ITextView textView) : this(textView, new ArrayList()) 52internal CompositionAdorner(ITextView textView, ArrayList attributeRanges) 360internal void Initialize(ITextView textView) 397private ITextView _textView; 453internal AttributeRange(ITextView textView, ITextPointer start, ITextPointer end, TextServicesDisplayAttribute textServicesDisplayAttribute) 642private ITextView _textView;
System\Windows\Documents\DocumentSequence.cs (1)
1077if (serviceType == typeof(ITextView))
System\Windows\Documents\DocumentSequenceTextContainer.cs (2)
277ITextView ITextContainer.TextView 809private ITextView _textview;
System\Windows\Documents\DocumentSequenceTextPointer.cs (1)
355ITextView textView = ((ITextPointer)this).TextContainer.TextView;
System\Windows\Documents\DocumentSequenceTextView.cs (8)
459return ((ITextView)this).IsValid; 462/// <see cref="ITextView.Validate(Point)"/> 467return ((ITextView)this).IsValid; 525/// <see cref="ITextView.RendersOwnSelection"/> 571private ITextView ChildTextView 580_childTextView = (ITextView)isp.GetService(typeof(ITextView)); 618private ITextView _childTextView;
System\Windows\Documents\FixedDocument.cs (1)
1378if (serviceType == typeof(ITextView))
System\Windows\Documents\FixedTextContainer.cs (2)
246ITextView ITextContainer.TextView 647private ITextView _textview;
System\Windows\Documents\FixedTextPointer.cs (1)
565ITextView textView = ((ITextPointer)this).TextContainer.TextView;
System\Windows\Documents\FixedTextView.cs (1)
698/// <see cref="ITextView.RendersOwnSelection"/>
System\Windows\Documents\ImmComposition.cs (3)
589ITextView view; 696ITextView view; 1621ITextView view;
System\Windows\Documents\ITextContainer.cs (1)
137ITextView TextView { get; set; }
System\Windows\Documents\ITextSelection.cs (1)
151ITextView TextView { get; }
System\Windows\Documents\NullTextContainer.cs (1)
242ITextView ITextContainer.TextView
System\Windows\Documents\TextContainer.cs (3)
1764ITextView ITextContainer.TextView 1778internal ITextView TextView 3618private ITextView _textview;
System\windows\Documents\TextEditor.cs (7)
289internal static ITextView GetTextView(UIElement scope) 293return (serviceProvider != null) ? serviceProvider.GetService(typeof(ITextView)) as ITextView : null; 842internal ITextView TextView 1474Invariant.Assert(sender is ITextView); 1475((ITextView)sender).BringPointIntoViewCompleted -= new BringPointIntoViewCompletedEventHandler(HandleBringPointIntoViewCompleted); 1960private ITextView _textView;
System\windows\Documents\TextEditorDragDrop.cs (1)
665private ITextView TextView
System\windows\Documents\TextEditorSelection.cs (12)
102internal static TextSegment GetNormalizedLineRange(ITextView textView, ITextPointer position) 126internal static bool IsPaginated(ITextView textview) 1764Invariant.Assert(sender is ITextView); 1765((ITextView)sender).BringLineIntoViewCompleted -= new BringLineIntoViewCompletedEventHandler(HandleMoveByLineCompleted); 1794Invariant.Assert(sender is ITextView); 1795((ITextView)sender).BringPageIntoViewCompleted -= new BringPageIntoViewCompletedEventHandler(HandleMoveByPageCompleted); 1826Invariant.Assert(sender is ITextView); 1827((ITextView)sender).BringLineIntoViewCompleted -= new BringLineIntoViewCompletedEventHandler(HandleSelectByLineCompleted); 1889Invariant.Assert(sender is ITextView); 1890((ITextView)sender).BringPageIntoViewCompleted -= new BringPageIntoViewCompletedEventHandler(HandleSelectByPageCompleted); 2439private static double GetAbsoluteXOffset(ITextView textview, ITextPointer position) 2460private static double GetViewportXOffset(ITextView textview, double suggestedX)
System\Windows\Documents\TextPointerBase.cs (5)
679internal static bool IsAtLineWrappingPosition(ITextPointer position, ITextView textView) 795internal static int MoveToLineBoundary(ITextPointer thisPointer, ITextView textView, int count) 801internal static int MoveToLineBoundary(ITextPointer thisPointer, ITextView textView, int count, bool respectNonMeargeableInlineStart) 861ITextView textView = thisPointer.TextContainer.TextView; 1114internal static bool ValidateLayout(ITextPointer thisPointer, ITextView textView)
System\Windows\Documents\TextRangeEditTables.cs (4)
1566internal static bool TableBorderHitTest(ITextView textView, Point pt) 1578ITextView textView, Point point, 1655internal static TableColumnResizeInfo StartColumnResize(ITextView textView, Point pt) 1689internal TableColumnResizeInfo(ITextView textView, Table table, int columnIndex, Rect columnRect, double tableAutofitWidth, double[] columnWidths)
System\windows\Documents\TextSelection.cs (2)
2613ITextView ITextSelection.TextView 2621private ITextView TextView
System\Windows\Documents\TextStore.cs (6)
933ITextView view; 1009ITextView view; 1133ITextView view; 2084internal ITextView TextView 2590private void GetVisualInfo(out PresentationSource source, out IWin32Window win32Window, out ITextView view) 2980ITextView view;