2 implementations of ITextView
PresentationFramework (2)
MS\Internal\Documents\TextBoxView.cs (1)
23internal class TextBoxView : FrameworkElement, ITextView, IScrollInfo, IServiceProvider
MS\Internal\Documents\TextViewBase.cs (1)
22internal abstract class TextViewBase : ITextView
426 references to ITextView
PresentationFramework (426)
MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (6)
289ITextView tv = (ITextView)((IServiceProvider)docPage).GetService(typeof(ITextView)); 589ITextView textView; 595textView = ((IServiceProvider)documentPage).GetService(typeof(ITextView)) as ITextView;
MS\Internal\Annotations\Anchoring\TextSelectionHelper.cs (24)
294ITextView textView = GetDocumentPageTextView(pointer); 384internal static ITextView GetDocumentPageTextView(ITextPointer pointer) 396return provider.GetService(typeof(ITextView)) as ITextView; 406return isp.GetService(typeof(ITextView)) as ITextView; 417internal static List<ITextView> GetDocumentPageTextViews(TextSegment segment) 419List<ITextView> res = null; 434res = new List<ITextView>(1); 435res.Add(provider.GetService(typeof(ITextView)) as ITextView); 448res = new List<ITextView>(0); 478private static List<ITextView> ProcessSinglePage(IDocumentPaginatorSource idp, int pageNumber) 484List<ITextView> res = null; 487res = new List<ITextView>(1); 488ITextView view = isp.GetService(typeof(ITextView)) as ITextView; 504private static List<ITextView> ProcessMultiplePages(IDocumentPaginatorSource idp, int startPageNumber, int endPageNumber) 521List<ITextView> res = null; 524res = new List<ITextView>(endPageNumber - startPageNumber + 1); 533ITextView textView = serviceProvider.GetService(typeof(ITextView)) as ITextView;
MS\Internal\Annotations\Anchoring\TextSelectionProcessor.cs (3)
253ITextView textView = null; 266textView = serviceProvider.GetService(typeof(ITextView)) as ITextView;
MS\Internal\Annotations\Anchoring\TextViewSelectionProcessor.cs (6)
129ITextView textView = VerifySelection(selection); 221internal static TextRange GetTextViewTextRange(ITextView textView, out int startOffset, out int endOffset) 259private ITextView VerifySelection(object selection) 267ITextView textView = provider.GetService(typeof(ITextView)) as ITextView;
MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (6)
916private void GetSegmentGeometry(GeometryGroup geometry, TextSegment segment, ITextView parentView) 918List<ITextView> textViews = TextSelectionHelper.GetDocumentPageTextViews(segment); 921foreach (ITextView view in textViews) 936private Geometry GetPageGeometry(TextSegment segment, ITextView view, ITextView parentView) 1100ITextView parentView = TextSelectionHelper.GetDocumentPageTextView(TopOwner.Range.Start.CreatePointer(LogicalDirection.Forward));
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (5)
422ITextView startView = TextSelectionHelper.GetDocumentPageTextView(baseAnchor); 423ITextView endView = TextSelectionHelper.GetDocumentPageTextView(anchor); 936ITextView textView = (ITextView)service.GetService(typeof(ITextView));
MS\Internal\Documents\ContentHostHelper.cs (3)
89ITextView textView = flowDocument.StructuralCache.TextContainer.TextView; 114textView = (ITextView)((IServiceProvider)pageViews[i].DocumentPage).GetService(typeof(ITextView));
MS\Internal\Documents\DocumentGrid.cs (2)
912public ITextView TextView 2569((IServiceProvider)pageView).GetService(typeof(ITextView)) as DocumentPageTextView;
MS\Internal\Documents\DocumentPageTextView.cs (25)
49_pageTextView = ((IServiceProvider)_page).GetService(typeof(ITextView)) as ITextView; 75_pageTextView = ((IServiceProvider)_page).GetService(typeof(ITextView)) as ITextView; 94/// <see cref="ITextView.GetTextPositionFromPoint"/> 113/// <see cref="ITextView.GetRawRectangleFromTextPosition"/> 167/// <see cref="ITextView.GetPositionAtNextLine"/> 196/// <see cref="ITextView.GetPositionAtNextPage"/> 237/// <see cref="ITextView.IsAtCaretUnitBoundary"/> 254/// <see cref="ITextView.GetNextCaretUnitPosition"/> 271/// <see cref="ITextView.GetBackspaceCaretUnitPosition"/> 288/// <see cref="ITextView.GetLineRange"/> 305/// <see cref="ITextView.GetGlyphRuns"/> 322/// <see cref="ITextView.Contains"/> 355_pageTextView = ((IServiceProvider)_page).GetService(typeof(ITextView)) as ITextView; 392/// <see cref="ITextView.Validate()"/> 404/// <see cref="ITextView.Validate(ITextPointer)"/> 449/// <see cref="ITextView.ThrottleBackgroundTasksForUserInput"/> 472/// <see cref="ITextView.RenderScope"/> 480/// <see cref="ITextView.TextContainer"/> 488/// <see cref="ITextView.IsValid"/> 507/// <see cref="ITextView.RendersOwnSelection"/> 523/// <see cref="ITextView.TextSegments"/> 716private ITextView _pageTextView;
MS\Internal\Documents\DocumentViewerHelper.cs (3)
76internal static ITextRange Find(FindToolBar findToolBar, TextEditor textEditor, ITextView textView, ITextView masterPageTextView) 412ITextView textView = textContainer.TextView;
MS\Internal\Documents\FlowDocumentPaginator.cs (3)
346ITextView textView; 379textView = (ITextView)((IServiceProvider)flowDocumentPage).GetService(typeof(ITextView));
MS\Internal\Documents\FlowDocumentView.cs (1)
692if (serviceType == typeof(ITextView))
MS\Internal\Documents\IDocumentScrollInfo.cs (1)
185ITextView TextView { get; }
MS\Internal\Documents\MultiPageTextView.cs (24)
88/// <see cref="ITextView.GetTextPositionFromPoint"/> 112/// <see cref="ITextView.GetRawRectangleFromTextPosition"/> 184/// <see cref="ITextView.GetPositionAtNextLine"/> 199/// <see cref="ITextView.GetPositionAtNextPage"/> 212/// <see cref="ITextView.IsAtCaretUnitBoundary"/> 234/// <see cref="ITextView.GetNextCaretUnitPosition"/> 256/// <see cref="ITextView.GetBackspaceCaretUnitPosition"/> 278/// <see cref="ITextView.GetBackspaceCaretUnitPosition"/> 300/// <see cref="ITextView.Contains"/> 313/// <see cref="ITextView.BringPositionIntoViewAsync"/> 374/// <see cref="ITextView.BringPointIntoViewAsync"/> 476/// <see cref="ITextView.BringLineIntoViewAsync"/> 499/// <see cref="ITextView.BringLineIntoViewAsync"/> 523/// <see cref="ITextView.CancelAsync"/> 601internal ITextView GetPageTextViewFromPosition(ITextPointer position) 622/// <see cref="ITextView.RenderScope"/> 630/// <see cref="ITextView.TextContainer"/> 638/// <see cref="ITextView.IsValid"/> 663/// <see cref="ITextView.RendersOwnSelection"/> 679/// <see cref="ITextView.TextSegments"/> 730pageTextView = ((IServiceProvider)pageViews[index]).GetService(typeof(ITextView)) as DocumentPageTextView; 860/// <see cref="ITextView.GetPositionAtNextLine"/> 1020private ITextPointer GetPositionAtPageBoundary(bool pageTop, ITextView pageTextView, ITextPointer position, double suggestedX) 1360ITextView pageTextView;
MS\Internal\Documents\TextBoxView.cs (68)
63if (serviceType == typeof(ITextView)) 554/// <see cref="ITextView.GetTextPositionFromPoint"/> 556ITextPointer ITextView.GetTextPositionFromPoint(Point point, bool snapToText) 579/// <see cref="ITextView.GetRectangleFromTextPosition"/> 581Rect ITextView.GetRectangleFromTextPosition(ITextPointer position) 633/// <see cref="ITextView.GetRawRectangleFromTextPosition"/> 635Rect ITextView.GetRawRectangleFromTextPosition(ITextPointer position, out Transform transform) 639return ((ITextView)this).GetRectangleFromTextPosition(position); 643/// <see cref="ITextView.GetTightBoundingGeometryFromTextPositions"/> 645Geometry ITextView.GetTightBoundingGeometryFromTextPositions(ITextPointer startPosition, ITextPointer endPosition) 722/// <see cref="ITextView.GetPositionAtNextLine"/> 724ITextPointer ITextView.GetPositionAtNextLine(ITextPointer position, double suggestedX, int count, out double newSuggestedX, out int linesMoved) 754/// <see cref="ITextView.GetPositionAtNextPage"/> 756ITextPointer ITextView.GetPositionAtNextPage(ITextPointer position, Point suggestedOffset, int count, out Point newSuggestedOffset, out int pagesMoved) 769/// <see cref="ITextView.IsAtCaretUnitBoundary"/> 771bool ITextView.IsAtCaretUnitBoundary(ITextPointer position) 808/// <see cref="ITextView.GetNextCaretUnitPosition"/> 810ITextPointer ITextView.GetNextCaretUnitPosition(ITextPointer position, LogicalDirection direction) 885/// <see cref="ITextView.GetBackspaceCaretUnitPosition"/> 887ITextPointer ITextView.GetBackspaceCaretUnitPosition(ITextPointer position) 933/// <see cref="ITextView.GetLineRange"/> 935TextSegment ITextView.GetLineRange(ITextPointer position) 949/// <see cref="ITextView.GetGlyphRuns"/> 951ReadOnlyCollection<GlyphRun> ITextView.GetGlyphRuns(ITextPointer start, ITextPointer end) 959/// <see cref="ITextView.Contains"/> 961bool ITextView.Contains(ITextPointer position) 967/// <see cref="ITextView.BringPositionIntoViewAsync"/> 969void ITextView.BringPositionIntoViewAsync(ITextPointer position, object userState) 978/// <see cref="ITextView.BringPointIntoViewAsync"/> 980void ITextView.BringPointIntoViewAsync(Point point, object userState) 989/// <see cref="ITextView.BringLineIntoViewAsync"/> 991void ITextView.BringLineIntoViewAsync(ITextPointer position, double suggestedX, int count, object userState) 1000/// <see cref="ITextView.BringPageIntoViewAsync"/> 1002void ITextView.BringPageIntoViewAsync(ITextPointer position, Point suggestedOffset, int count, object userState) 1011/// <see cref="ITextView.CancelAsync"/> 1013void ITextView.CancelAsync(object userState) 1022/// <see cref="ITextView.Validate()"/> 1024bool ITextView.Validate() 1031/// <see cref="ITextView.Validate(Point)"/> 1033bool ITextView.Validate(Point point) 1035return ((ITextView)this).Validate(); 1039/// <see cref="ITextView.Validate(ITextPointer)"/> 1041bool ITextView.Validate(ITextPointer position) 1085/// <see cref="ITextView.ThrottleBackgroundTasksForUserInput"/> 1087void ITextView.ThrottleBackgroundTasksForUserInput() 1211/// <see cref="ITextView.RenderScope"/> 1213UIElement ITextView.RenderScope 1222/// <see cref="ITextView.TextContainer"/> 1224ITextContainer ITextView.TextContainer 1233/// <see cref="ITextView.IsValid"/> 1235bool ITextView.IsValid 1244/// <see cref="ITextView.RendersOwnSelection"/> 1246bool ITextView.RendersOwnSelection 1256/// <see cref="ITextView.TextSegments"/> 1258ReadOnlyCollection<TextSegment> ITextView.TextSegments 1285/// <see cref="ITextView.BringPositionIntoViewCompleted"/> 1289event BringPositionIntoViewCompletedEventHandler ITextView.BringPositionIntoViewCompleted 1296/// <see cref="ITextView.BringPointIntoViewCompleted"/> 1300event BringPointIntoViewCompletedEventHandler ITextView.BringPointIntoViewCompleted 1307/// <see cref="ITextView.BringLineIntoViewCompleted"/> 1311event BringLineIntoViewCompletedEventHandler ITextView.BringLineIntoViewCompleted 1318/// <see cref="ITextView.BringPageIntoViewCompleted"/> 1322event BringPageIntoViewCompletedEventHandler ITextView.BringPageIntoViewCompleted 1329/// <see cref="ITextView.Updated"/> 1331event EventHandler ITextView.Updated 1426&& (!((ITextView)this).RendersOwnSelection || args.OwnerType != typeof(TextSelection))) 1835bool shouldRenderSelection = ((ITextView)this).RendersOwnSelection 2876/// <see cref="ITextView.Contains"/>
MS\Internal\Documents\TextDocumentView.cs (15)
58/// <see cref="ITextView.GetTextPositionFromPoint"/> 78/// <see cref="ITextView.GetRawRectangleFromTextPosition"/> 221/// <see cref="ITextView.GetPositionAtNextLine"/> 275/// <see cref="ITextView.IsAtCaretUnitBoundary"/> 294/// <see cref="ITextView.GetNextCaretUnitPosition"/> 314/// <see cref="ITextView.GetBackspaceCaretUnitPosition"/> 333/// <see cref="ITextView.GetLineRange"/> 352/// <see cref="ITextView.GetGlyphRuns"/> 381/// <see cref="ITextView.Contains"/> 395/// <see cref="ITextView.Validate()"/> 403/// <see cref="ITextView.ThrottleBackgroundTasksForUserInput"/> 544/// <see cref="ITextView.RenderScope"/> 566/// <see cref="ITextView.TextContainer"/> 574/// <see cref="ITextView.IsValid"/> 582/// <see cref="ITextView.TextSegments"/>
MS\Internal\Documents\TextParagraphView.cs (13)
55/// <see cref="ITextView.GetTextPositionFromPoint"/> 75/// <see cref="ITextView.GetRectangleFromTextPosition"/> 123/// <see cref="ITextView.GetPositionAtNextLine"/> 186/// <see cref="ITextView.IsAtCaretUnitBoundary"/> 205/// <see cref="ITextView.GetNextCaretUnitPosition"/> 228/// <see cref="ITextView.GetBackspaceCaretUnitPosition"/> 251/// <see cref="ITextView.GetLineRange"/> 277/// <see cref="ITextView.Contains"/> 296/// <see cref="ITextView.Validate()"/> 449/// <see cref="ITextView.RenderScope"/> 457/// <see cref="ITextView.TextContainer"/> 465/// <see cref="ITextView.IsValid"/> 473/// <see cref="ITextView.TextSegments"/>
MS\Internal\Documents\TextViewBase.cs (84)
33/// <see cref="ITextView.GetTextPositionFromPoint"/> 38/// <see cref="ITextView.GetRectangleFromTextPosition"/> 58/// <see cref="ITextView.GetRawRectangleFromTextPosition"/> 63/// <see cref="ITextView.GetTightBoundingGeometryFromTextPositions"/> 68/// <see cref="ITextView.GetPositionAtNextLine"/> 73/// <see cref="ITextView.GetPositionAtNextLine"/> 83/// <see cref="ITextView.IsAtCaretUnitBoundary"/> 88/// <see cref="ITextView.GetNextCaretUnitPosition"/> 93/// <see cref="ITextView.GetBackspaceCaretUnitPosition"/> 98/// <see cref="ITextView.GetLineRange"/> 103/// <see cref="ITextView.GetGlyphRuns"/> 116/// <see cref="ITextView.Contains"/> 134internal static void BringRectIntoViewMinimally(ITextView textView, Rect rect) 174/// <see cref="ITextView.BringPositionIntoViewAsync"/> 187/// <see cref="ITextView.BringPointIntoViewAsync"/> 203/// <see cref="ITextView.BringLineIntoViewAsync"/> 221/// <see cref="ITextView.BringPageIntoViewAsync"/> 239/// <see cref="ITextView.CancelAsync"/> 246/// <see cref="ITextView.Validate()"/> 254/// <see cref="ITextView.Validate(Point)"/> 262/// <see cref="ITextView.Validate(ITextPointer)"/> 271/// <see cref="ITextView.ThrottleBackgroundTasksForUserInput"/> 288/// <see cref="ITextView.RenderScope"/> 293/// <see cref="ITextView.TextContainer"/> 298/// <see cref="ITextView.IsValid"/> 303/// <see cref="ITextView.RendersOwnSelection"/> 315/// <see cref="ITextView.TextSegments"/> 330/// <see cref="ITextView.BringPositionIntoViewCompleted"/> 335/// <see cref="ITextView.BringPointIntoViewCompleted"/> 340/// <see cref="ITextView.BringLineIntoViewCompleted"/> 345/// <see cref="ITextView.BringPageIntoViewCompleted"/> 350/// <see cref="ITextView.Updated"/> 463/// <see cref="ITextView.GetTextPositionFromPoint"/> 465ITextPointer ITextView.GetTextPositionFromPoint(Point point, bool snapToText) 471/// <see cref="ITextView.GetRectangleFromTextPosition"/> 473Rect ITextView.GetRectangleFromTextPosition(ITextPointer position) 479/// <see cref="ITextView.GetRawRectangleFromTextPosition"/> 481Rect ITextView.GetRawRectangleFromTextPosition(ITextPointer position, out Transform transform) 487/// <see cref="ITextView.GetTightBoundingGeometryFromTextPositions"/> 489Geometry ITextView.GetTightBoundingGeometryFromTextPositions(ITextPointer startPosition, ITextPointer endPosition) 495/// <see cref="ITextView.GetPositionAtNextLine"/> 497ITextPointer ITextView.GetPositionAtNextLine(ITextPointer position, double suggestedX, int count, out double newSuggestedX, out int linesMoved) 503/// <see cref="ITextView.GetPositionAtNextPage"/> 505ITextPointer ITextView.GetPositionAtNextPage(ITextPointer position, Point suggestedOffset, int count, out Point newSuggestedOffset, out int pagesMoved) 511/// <see cref="ITextView.IsAtCaretUnitBoundary"/> 513bool ITextView.IsAtCaretUnitBoundary(ITextPointer position) 519/// <see cref="ITextView.GetNextCaretUnitPosition"/> 521ITextPointer ITextView.GetNextCaretUnitPosition(ITextPointer position, LogicalDirection direction) 527/// <see cref="ITextView.GetBackspaceCaretUnitPosition"/> 529ITextPointer ITextView.GetBackspaceCaretUnitPosition(ITextPointer position) 535/// <see cref="ITextView.GetLineRange"/> 537TextSegment ITextView.GetLineRange(ITextPointer position) 543/// <see cref="ITextView.GetGlyphRuns"/> 545ReadOnlyCollection<GlyphRun> ITextView.GetGlyphRuns(ITextPointer start, ITextPointer end) 551/// <see cref="ITextView.Contains"/> 553bool ITextView.Contains(ITextPointer position) 559/// <see cref="ITextView.BringPositionIntoViewAsync"/> 561void ITextView.BringPositionIntoViewAsync(ITextPointer position, object userState) 567/// <see cref="ITextView.BringPointIntoViewAsync"/> 569void ITextView.BringPointIntoViewAsync(Point point, object userState) 575/// <see cref="ITextView.BringLineIntoViewAsync"/> 577void ITextView.BringLineIntoViewAsync(ITextPointer position, double suggestedX, int count, object userState) 583/// <see cref="ITextView.BringLineIntoViewAsync"/> 585void ITextView.BringPageIntoViewAsync(ITextPointer position, Point suggestedOffset, int count, object userState) 591/// <see cref="ITextView.CancelAsync"/> 593void ITextView.CancelAsync(object userState) 599/// <see cref="ITextView.Validate()"/> 601bool ITextView.Validate() 607/// <see cref="ITextView.Validate(Point)"/> 609bool ITextView.Validate(Point point) 615/// <see cref="ITextView.Validate(ITextPointer)"/> 617bool ITextView.Validate(ITextPointer position) 623/// <see cref="ITextView.ThrottleBackgroundTasksForUserInput"/> 625void ITextView.ThrottleBackgroundTasksForUserInput() 631/// <see cref="ITextView.RenderScope"/> 633UIElement ITextView.RenderScope 639/// <see cref="ITextView.TextContainer"/> 641ITextContainer ITextView.TextContainer 647/// <see cref="ITextView.IsValid"/> 649bool ITextView.IsValid 655/// <see cref="ITextView.RendersOwnSelection"/> 657bool ITextView.RendersOwnSelection 663/// <see cref="ITextView.TextSegments"/> 665ReadOnlyCollection<TextSegment> ITextView.TextSegments
MS\Internal\LayoutDump.cs (1)
588TextDocumentView tv = (TextDocumentView)((IServiceProvider)flowDocumentPage).GetService(typeof(ITextView));
MS\Internal\PtsHost\BreakRecordTable.cs (3)
252ITextView textView; 261textView = (ITextView)((IServiceProvider)page).GetService(typeof(ITextView));
MS\Internal\PtsHost\FlowDocumentPage.cs (7)
364Invariant.Assert(_textView != null && ((ITextView)_textView).TextSegments.Count > 0); 365return new HostedElements(((ITextView)_textView).TextSegments); 979for (int segmentIndex = 0; segmentIndex < ((ITextView)_textView).TextSegments.Count; segmentIndex++) 981if (((ITextPointer)elementPosition).CompareTo(((ITextView)_textView).TextSegments[segmentIndex].Start) >= 0 && 982((ITextPointer)elementPosition).CompareTo(((ITextView)_textView).TextSegments[segmentIndex].End) < 0) 1034TextDocumentView textView = (TextDocumentView)((IServiceProvider)this).GetService(typeof(ITextView)); 1142if (serviceType == typeof(ITextView))
System\Windows\Annotations\AnnotationService.cs (4)
261ITextView textView = GetTextView(document); 768ITextView textView = GetTextView(document); 1103static private ITextView GetTextView(IDocumentPaginatorSource document) 1105ITextView textView = null;
System\Windows\Automation\Peers\DocumentAutomationPeer.cs (2)
128ITextView textView = _textContainer?.TextView; 220ITextView textView = textContainer?.TextView;
System\Windows\Automation\Peers\TextElementAutomationPeer.cs (5)
49ITextView textView = textElement.TextContainer.TextView; 96ITextView textView = textElement.TextContainer.TextView; 150ITextView textView = textElement.TextContainer.TextView; 169private Rect CalculateVisibleRect(ITextView textView, TextElement textElement, TextPointer startPointer, TextPointer endPointer) 222ITextView textView = textElement?.TextContainer?.TextView;
System\Windows\Controls\FlowDocumentScrollViewer.cs (8)
840ITextView textView = GetTextView(); 901ITextView textView = GetTextView(); 972ITextView textView = null; 1267private ITextView GetTextView() 1269ITextView textView = null; 1272textView = (ITextView)((IServiceProvider)RenderScope).GetService(typeof(ITextView)); 1857if (serviceType == typeof(ITextView))
System\Windows\Controls\PasswordBox.cs (2)
1021ITextView textview = TextEditor.GetTextView(_renderScope); 1216if ((textBoxView as ITextView)?.RendersOwnSelection == true)
System\Windows\Controls\PasswordTextContainer.cs (3)
458ITextView ITextContainer.TextView 472internal ITextView TextView 952private ITextView _textview;
System\Windows\Controls\Primitives\BulletDecorator.cs (1)
341TextDocumentView tdv = ((IServiceProvider)text).GetService(typeof(ITextView)) as TextDocumentView;
System\Windows\Controls\Primitives\DocumentPageView.cs (1)
522if (serviceType == typeof(ITextView))
System\Windows\Controls\Primitives\DocumentViewerBase.cs (7)
685ITextView masterPageTextView = null; 689masterPageTextView = ((IServiceProvider)masterPage).GetService(typeof(ITextView)) as ITextView; 763ITextView textView = null; 768textView = ((IServiceProvider)masterPage).GetService(typeof(ITextView)) as ITextView; 1745if (serviceType == typeof(ITextView))
System\Windows\Controls\Primitives\TextBoxBase.cs (4)
1815ITextView textView = (ITextView)((IServiceProvider)_renderScope).GetService(typeof(ITextView)); 2136if ((textBoxView as ITextView)?.RendersOwnSelection == true)
System\Windows\Controls\TextAdaptor.cs (7)
91ITextView textView = GetUpdatedTextView(); 173internal ITextView GetUpdatedTextView() 175ITextView textView = _textContainer.TextView; 222ITextView textView = GetUpdatedTextView(); 336private Rect GetVisibleRectangle(ITextView textView) 509ITextView textView = GetUpdatedTextView(); 658ITextView textView = GetUpdatedTextView();
System\Windows\Controls\TextBlock.cs (3)
271if (serviceType == typeof(ITextView)) 396if (((ITextView)_complexContent.TextView).Validate(point)) 2689internal ITextView TextView
System\Windows\Controls\TextRangeAdaptor.cs (7)
522ITextView textView; 670ITextView pageTextView = textView; 687ITextView pageTextView = textView; 728ITextView textView; 908ITextView pageTextView = textView; 991ITextView textView; 1134ITextView pageTextView = ((MultiPageTextView)textView).GetPageTextViewFromPosition(position);
System\Windows\Documents\CompositionAdorner.cs (6)
40internal CompositionAdorner(ITextView textView) : this(textView, new ArrayList()) 53internal CompositionAdorner(ITextView textView, ArrayList attributeRanges) 361internal void Initialize(ITextView textView) 398private ITextView _textView; 454internal AttributeRange(ITextView textView, ITextPointer start, ITextPointer end, TextServicesDisplayAttribute textServicesDisplayAttribute) 643private ITextView _textView;
System\Windows\Documents\DocumentSequence.cs (1)
1078if (serviceType == typeof(ITextView))
System\Windows\Documents\DocumentSequenceTextContainer.cs (2)
278ITextView ITextContainer.TextView 810private ITextView _textview;
System\Windows\Documents\DocumentSequenceTextPointer.cs (1)
356ITextView textView = ((ITextPointer)this).TextContainer.TextView;
System\Windows\Documents\DocumentSequenceTextView.cs (8)
460return ((ITextView)this).IsValid; 463/// <see cref="ITextView.Validate(Point)"/> 468return ((ITextView)this).IsValid; 526/// <see cref="ITextView.RendersOwnSelection"/> 572private ITextView ChildTextView 581_childTextView = (ITextView)isp.GetService(typeof(ITextView)); 619private ITextView _childTextView;
System\Windows\Documents\FixedDocument.cs (1)
1378if (serviceType == typeof(ITextView))
System\Windows\Documents\FixedTextContainer.cs (2)
247ITextView ITextContainer.TextView 648private ITextView _textview;
System\Windows\Documents\FixedTextPointer.cs (1)
566ITextView textView = ((ITextPointer)this).TextContainer.TextView;
System\Windows\Documents\FixedTextView.cs (1)
699/// <see cref="ITextView.RendersOwnSelection"/>
System\Windows\Documents\ImmComposition.cs (3)
590ITextView view; 697ITextView view; 1622ITextView view;
System\Windows\Documents\ITextContainer.cs (1)
138ITextView TextView { get; set; }
System\Windows\Documents\ITextSelection.cs (1)
152ITextView TextView { get; }
System\Windows\Documents\NullTextContainer.cs (1)
243ITextView ITextContainer.TextView
System\Windows\Documents\TextContainer.cs (3)
1765ITextView ITextContainer.TextView 1779internal ITextView TextView 3625private ITextView _textview;
System\windows\Documents\TextEditor.cs (7)
290internal static ITextView GetTextView(UIElement scope) 294return (serviceProvider != null) ? serviceProvider.GetService(typeof(ITextView)) as ITextView : null; 843internal ITextView TextView 1475Invariant.Assert(sender is ITextView); 1476((ITextView)sender).BringPointIntoViewCompleted -= new BringPointIntoViewCompletedEventHandler(HandleBringPointIntoViewCompleted); 1961private ITextView _textView;
System\windows\Documents\TextEditorDragDrop.cs (1)
666private ITextView TextView
System\windows\Documents\TextEditorSelection.cs (12)
103internal static TextSegment GetNormalizedLineRange(ITextView textView, ITextPointer position) 127internal static bool IsPaginated(ITextView textview) 1765Invariant.Assert(sender is ITextView); 1766((ITextView)sender).BringLineIntoViewCompleted -= new BringLineIntoViewCompletedEventHandler(HandleMoveByLineCompleted); 1795Invariant.Assert(sender is ITextView); 1796((ITextView)sender).BringPageIntoViewCompleted -= new BringPageIntoViewCompletedEventHandler(HandleMoveByPageCompleted); 1827Invariant.Assert(sender is ITextView); 1828((ITextView)sender).BringLineIntoViewCompleted -= new BringLineIntoViewCompletedEventHandler(HandleSelectByLineCompleted); 1890Invariant.Assert(sender is ITextView); 1891((ITextView)sender).BringPageIntoViewCompleted -= new BringPageIntoViewCompletedEventHandler(HandleSelectByPageCompleted); 2440private static double GetAbsoluteXOffset(ITextView textview, ITextPointer position) 2461private static double GetViewportXOffset(ITextView textview, double suggestedX)
System\Windows\Documents\TextPointerBase.cs (5)
680internal static bool IsAtLineWrappingPosition(ITextPointer position, ITextView textView) 796internal static int MoveToLineBoundary(ITextPointer thisPointer, ITextView textView, int count) 802internal static int MoveToLineBoundary(ITextPointer thisPointer, ITextView textView, int count, bool respectNonMeargeableInlineStart) 862ITextView textView = thisPointer.TextContainer.TextView; 1115internal static bool ValidateLayout(ITextPointer thisPointer, ITextView textView)
System\Windows\Documents\TextRangeEditTables.cs (4)
1567internal static bool TableBorderHitTest(ITextView textView, Point pt) 1579ITextView textView, Point point, 1656internal static TableColumnResizeInfo StartColumnResize(ITextView textView, Point pt) 1690internal TableColumnResizeInfo(ITextView textView, Table table, int columnIndex, Rect columnRect, double tableAutofitWidth, double[] columnWidths)
System\windows\Documents\TextSelection.cs (2)
2614ITextView ITextSelection.TextView 2622private ITextView TextView
System\Windows\Documents\TextStore.cs (6)
934ITextView view; 1010ITextView view; 1134ITextView view; 2091internal ITextView TextView 2600private void GetVisualInfo(out PresentationSource source, out IWin32Window win32Window, out ITextView view) 2990ITextView view;