2 implementations of ITextView
PresentationFramework (2)
MS\Internal\Documents\TextBoxView.cs (1)
25internal class TextBoxView : FrameworkElement, ITextView, IScrollInfo, IServiceProvider
MS\Internal\Documents\TextViewBase.cs (1)
24internal abstract class TextViewBase : ITextView
426 references to ITextView
PresentationFramework (426)
MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (6)
300ITextView tv = (ITextView)((IServiceProvider)docPage).GetService(typeof(ITextView)); 597ITextView textView; 603textView = ((IServiceProvider)documentPage).GetService(typeof(ITextView)) as ITextView;
MS\Internal\Annotations\Anchoring\TextSelectionHelper.cs (24)
303ITextView textView = GetDocumentPageTextView(pointer); 393internal static ITextView GetDocumentPageTextView(ITextPointer pointer) 405return provider.GetService(typeof(ITextView)) as ITextView; 415return isp.GetService(typeof(ITextView)) as ITextView; 426internal static List<ITextView> GetDocumentPageTextViews(TextSegment segment) 428List<ITextView> res = null; 443res = new List<ITextView>(1); 444res.Add(provider.GetService(typeof(ITextView)) as ITextView); 457res = new List<ITextView>(0); 487private static List<ITextView> ProcessSinglePage(IDocumentPaginatorSource idp, int pageNumber) 493List<ITextView> res = null; 496res = new List<ITextView>(1); 497ITextView view = isp.GetService(typeof(ITextView)) as ITextView; 513private static List<ITextView> ProcessMultiplePages(IDocumentPaginatorSource idp, int startPageNumber, int endPageNumber) 530List<ITextView> res = null; 533res = new List<ITextView>(endPageNumber - startPageNumber + 1); 542ITextView textView = serviceProvider.GetService(typeof(ITextView)) as ITextView;
MS\Internal\Annotations\Anchoring\TextSelectionProcessor.cs (3)
263ITextView textView = null; 276textView = serviceProvider.GetService(typeof(ITextView)) as ITextView;
MS\Internal\Annotations\Anchoring\TextViewSelectionProcessor.cs (6)
141ITextView textView = VerifySelection(selection); 233internal static TextRange GetTextViewTextRange(ITextView textView, out int startOffset, out int endOffset) 271private ITextView VerifySelection(object selection) 279ITextView textView = provider.GetService(typeof(ITextView)) as ITextView;
MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (6)
926private void GetSegmentGeometry(GeometryGroup geometry, TextSegment segment, ITextView parentView) 928List<ITextView> textViews = TextSelectionHelper.GetDocumentPageTextViews(segment); 931foreach (ITextView view in textViews) 946private Geometry GetPageGeometry(TextSegment segment, ITextView view, ITextView parentView) 1110ITextView parentView = TextSelectionHelper.GetDocumentPageTextView(TopOwner.Range.Start.CreatePointer(LogicalDirection.Forward));
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (5)
428ITextView startView = TextSelectionHelper.GetDocumentPageTextView(baseAnchor); 429ITextView endView = TextSelectionHelper.GetDocumentPageTextView(anchor); 938ITextView textView = (ITextView)service.GetService(typeof(ITextView));
MS\Internal\Documents\ContentHostHelper.cs (3)
92ITextView textView = flowDocument.StructuralCache.TextContainer.TextView; 117textView = (ITextView)((IServiceProvider)pageViews[i].DocumentPage).GetService(typeof(ITextView));
MS\Internal\Documents\DocumentGrid.cs (2)
919public ITextView TextView 2583((IServiceProvider)pageView).GetService(typeof(ITextView)) as DocumentPageTextView;
MS\Internal\Documents\DocumentPageTextView.cs (25)
51_pageTextView = ((IServiceProvider)_page).GetService(typeof(ITextView)) as ITextView; 77_pageTextView = ((IServiceProvider)_page).GetService(typeof(ITextView)) as ITextView; 96/// <see cref="ITextView.GetTextPositionFromPoint"/> 115/// <see cref="ITextView.GetRawRectangleFromTextPosition"/> 169/// <see cref="ITextView.GetPositionAtNextLine"/> 198/// <see cref="ITextView.GetPositionAtNextPage"/> 239/// <see cref="ITextView.IsAtCaretUnitBoundary"/> 256/// <see cref="ITextView.GetNextCaretUnitPosition"/> 273/// <see cref="ITextView.GetBackspaceCaretUnitPosition"/> 290/// <see cref="ITextView.GetLineRange"/> 307/// <see cref="ITextView.GetGlyphRuns"/> 324/// <see cref="ITextView.Contains"/> 357_pageTextView = ((IServiceProvider)_page).GetService(typeof(ITextView)) as ITextView; 394/// <see cref="ITextView.Validate()"/> 406/// <see cref="ITextView.Validate(ITextPointer)"/> 451/// <see cref="ITextView.ThrottleBackgroundTasksForUserInput"/> 474/// <see cref="ITextView.RenderScope"/> 482/// <see cref="ITextView.TextContainer"/> 490/// <see cref="ITextView.IsValid"/> 509/// <see cref="ITextView.RendersOwnSelection"/> 525/// <see cref="ITextView.TextSegments"/> 718private ITextView _pageTextView;
MS\Internal\Documents\DocumentViewerHelper.cs (3)
78internal static ITextRange Find(FindToolBar findToolBar, TextEditor textEditor, ITextView textView, ITextView masterPageTextView) 414ITextView textView = textContainer.TextView;
MS\Internal\Documents\FlowDocumentPaginator.cs (3)
350ITextView textView; 383textView = (ITextView)((IServiceProvider)flowDocumentPage).GetService(typeof(ITextView));
MS\Internal\Documents\FlowDocumentView.cs (1)
745if (serviceType == typeof(ITextView))
MS\Internal\Documents\IDocumentScrollInfo.cs (1)
191ITextView TextView { get; }
MS\Internal\Documents\MultiPageTextView.cs (24)
90/// <see cref="ITextView.GetTextPositionFromPoint"/> 114/// <see cref="ITextView.GetRawRectangleFromTextPosition"/> 186/// <see cref="ITextView.GetPositionAtNextLine"/> 201/// <see cref="ITextView.GetPositionAtNextPage"/> 214/// <see cref="ITextView.IsAtCaretUnitBoundary"/> 236/// <see cref="ITextView.GetNextCaretUnitPosition"/> 258/// <see cref="ITextView.GetBackspaceCaretUnitPosition"/> 280/// <see cref="ITextView.GetBackspaceCaretUnitPosition"/> 302/// <see cref="ITextView.Contains"/> 315/// <see cref="ITextView.BringPositionIntoViewAsync"/> 376/// <see cref="ITextView.BringPointIntoViewAsync"/> 478/// <see cref="ITextView.BringLineIntoViewAsync"/> 501/// <see cref="ITextView.BringLineIntoViewAsync"/> 525/// <see cref="ITextView.CancelAsync"/> 603internal ITextView GetPageTextViewFromPosition(ITextPointer position) 624/// <see cref="ITextView.RenderScope"/> 632/// <see cref="ITextView.TextContainer"/> 640/// <see cref="ITextView.IsValid"/> 665/// <see cref="ITextView.RendersOwnSelection"/> 681/// <see cref="ITextView.TextSegments"/> 732pageTextView = ((IServiceProvider)pageViews[index]).GetService(typeof(ITextView)) as DocumentPageTextView; 862/// <see cref="ITextView.GetPositionAtNextLine"/> 1022private ITextPointer GetPositionAtPageBoundary(bool pageTop, ITextView pageTextView, ITextPointer position, double suggestedX) 1362ITextView pageTextView;
MS\Internal\Documents\TextBoxView.cs (68)
65if (serviceType == typeof(ITextView)) 598/// <see cref="ITextView.GetTextPositionFromPoint"/> 600ITextPointer ITextView.GetTextPositionFromPoint(Point point, bool snapToText) 623/// <see cref="ITextView.GetRectangleFromTextPosition"/> 625Rect ITextView.GetRectangleFromTextPosition(ITextPointer position) 677/// <see cref="ITextView.GetRawRectangleFromTextPosition"/> 679Rect ITextView.GetRawRectangleFromTextPosition(ITextPointer position, out Transform transform) 683return ((ITextView)this).GetRectangleFromTextPosition(position); 687/// <see cref="ITextView.GetTightBoundingGeometryFromTextPositions"/> 689Geometry ITextView.GetTightBoundingGeometryFromTextPositions(ITextPointer startPosition, ITextPointer endPosition) 766/// <see cref="ITextView.GetPositionAtNextLine"/> 768ITextPointer ITextView.GetPositionAtNextLine(ITextPointer position, double suggestedX, int count, out double newSuggestedX, out int linesMoved) 798/// <see cref="ITextView.GetPositionAtNextPage"/> 800ITextPointer ITextView.GetPositionAtNextPage(ITextPointer position, Point suggestedOffset, int count, out Point newSuggestedOffset, out int pagesMoved) 813/// <see cref="ITextView.IsAtCaretUnitBoundary"/> 815bool ITextView.IsAtCaretUnitBoundary(ITextPointer position) 852/// <see cref="ITextView.GetNextCaretUnitPosition"/> 854ITextPointer ITextView.GetNextCaretUnitPosition(ITextPointer position, LogicalDirection direction) 929/// <see cref="ITextView.GetBackspaceCaretUnitPosition"/> 931ITextPointer ITextView.GetBackspaceCaretUnitPosition(ITextPointer position) 977/// <see cref="ITextView.GetLineRange"/> 979TextSegment ITextView.GetLineRange(ITextPointer position) 993/// <see cref="ITextView.GetGlyphRuns"/> 995ReadOnlyCollection<GlyphRun> ITextView.GetGlyphRuns(ITextPointer start, ITextPointer end) 1003/// <see cref="ITextView.Contains"/> 1005bool ITextView.Contains(ITextPointer position) 1011/// <see cref="ITextView.BringPositionIntoViewAsync"/> 1013void ITextView.BringPositionIntoViewAsync(ITextPointer position, object userState) 1022/// <see cref="ITextView.BringPointIntoViewAsync"/> 1024void ITextView.BringPointIntoViewAsync(Point point, object userState) 1033/// <see cref="ITextView.BringLineIntoViewAsync"/> 1035void ITextView.BringLineIntoViewAsync(ITextPointer position, double suggestedX, int count, object userState) 1044/// <see cref="ITextView.BringPageIntoViewAsync"/> 1046void ITextView.BringPageIntoViewAsync(ITextPointer position, Point suggestedOffset, int count, object userState) 1055/// <see cref="ITextView.CancelAsync"/> 1057void ITextView.CancelAsync(object userState) 1066/// <see cref="ITextView.Validate()"/> 1068bool ITextView.Validate() 1075/// <see cref="ITextView.Validate(Point)"/> 1077bool ITextView.Validate(Point point) 1079return ((ITextView)this).Validate(); 1083/// <see cref="ITextView.Validate(ITextPointer)"/> 1085bool ITextView.Validate(ITextPointer position) 1129/// <see cref="ITextView.ThrottleBackgroundTasksForUserInput"/> 1131void ITextView.ThrottleBackgroundTasksForUserInput() 1253/// <see cref="ITextView.RenderScope"/> 1255UIElement ITextView.RenderScope 1264/// <see cref="ITextView.TextContainer"/> 1266ITextContainer ITextView.TextContainer 1275/// <see cref="ITextView.IsValid"/> 1277bool ITextView.IsValid 1286/// <see cref="ITextView.RendersOwnSelection"/> 1288bool ITextView.RendersOwnSelection 1298/// <see cref="ITextView.TextSegments"/> 1300ReadOnlyCollection<TextSegment> ITextView.TextSegments 1327/// <see cref="ITextView.BringPositionIntoViewCompleted"/> 1331event BringPositionIntoViewCompletedEventHandler ITextView.BringPositionIntoViewCompleted 1338/// <see cref="ITextView.BringPointIntoViewCompleted"/> 1342event BringPointIntoViewCompletedEventHandler ITextView.BringPointIntoViewCompleted 1349/// <see cref="ITextView.BringLineIntoViewCompleted"/> 1353event BringLineIntoViewCompletedEventHandler ITextView.BringLineIntoViewCompleted 1360/// <see cref="ITextView.BringPageIntoViewCompleted"/> 1364event BringPageIntoViewCompletedEventHandler ITextView.BringPageIntoViewCompleted 1371/// <see cref="ITextView.Updated"/> 1373event EventHandler ITextView.Updated 1468&& (!((ITextView)this).RendersOwnSelection || args.OwnerType != typeof(TextSelection))) 1877bool shouldRenderSelection = ((ITextView)this).RendersOwnSelection 2918/// <see cref="ITextView.Contains"/>
MS\Internal\Documents\TextDocumentView.cs (15)
60/// <see cref="ITextView.GetTextPositionFromPoint"/> 80/// <see cref="ITextView.GetRawRectangleFromTextPosition"/> 224/// <see cref="ITextView.GetPositionAtNextLine"/> 278/// <see cref="ITextView.IsAtCaretUnitBoundary"/> 297/// <see cref="ITextView.GetNextCaretUnitPosition"/> 317/// <see cref="ITextView.GetBackspaceCaretUnitPosition"/> 336/// <see cref="ITextView.GetLineRange"/> 355/// <see cref="ITextView.GetGlyphRuns"/> 384/// <see cref="ITextView.Contains"/> 398/// <see cref="ITextView.Validate()"/> 406/// <see cref="ITextView.ThrottleBackgroundTasksForUserInput"/> 547/// <see cref="ITextView.RenderScope"/> 569/// <see cref="ITextView.TextContainer"/> 577/// <see cref="ITextView.IsValid"/> 585/// <see cref="ITextView.TextSegments"/>
MS\Internal\Documents\TextParagraphView.cs (13)
61/// <see cref="ITextView.GetTextPositionFromPoint"/> 81/// <see cref="ITextView.GetRectangleFromTextPosition"/> 129/// <see cref="ITextView.GetPositionAtNextLine"/> 192/// <see cref="ITextView.IsAtCaretUnitBoundary"/> 211/// <see cref="ITextView.GetNextCaretUnitPosition"/> 234/// <see cref="ITextView.GetBackspaceCaretUnitPosition"/> 257/// <see cref="ITextView.GetLineRange"/> 283/// <see cref="ITextView.Contains"/> 302/// <see cref="ITextView.Validate()"/> 455/// <see cref="ITextView.RenderScope"/> 463/// <see cref="ITextView.TextContainer"/> 471/// <see cref="ITextView.IsValid"/> 479/// <see cref="ITextView.TextSegments"/>
MS\Internal\Documents\TextViewBase.cs (84)
35/// <see cref="ITextView.GetTextPositionFromPoint"/> 40/// <see cref="ITextView.GetRectangleFromTextPosition"/> 60/// <see cref="ITextView.GetRawRectangleFromTextPosition"/> 65/// <see cref="ITextView.GetTightBoundingGeometryFromTextPositions"/> 70/// <see cref="ITextView.GetPositionAtNextLine"/> 75/// <see cref="ITextView.GetPositionAtNextLine"/> 85/// <see cref="ITextView.IsAtCaretUnitBoundary"/> 90/// <see cref="ITextView.GetNextCaretUnitPosition"/> 95/// <see cref="ITextView.GetBackspaceCaretUnitPosition"/> 100/// <see cref="ITextView.GetLineRange"/> 105/// <see cref="ITextView.GetGlyphRuns"/> 118/// <see cref="ITextView.Contains"/> 136internal static void BringRectIntoViewMinimally(ITextView textView, Rect rect) 176/// <see cref="ITextView.BringPositionIntoViewAsync"/> 189/// <see cref="ITextView.BringPointIntoViewAsync"/> 205/// <see cref="ITextView.BringLineIntoViewAsync"/> 223/// <see cref="ITextView.BringPageIntoViewAsync"/> 241/// <see cref="ITextView.CancelAsync"/> 248/// <see cref="ITextView.Validate()"/> 256/// <see cref="ITextView.Validate(Point)"/> 264/// <see cref="ITextView.Validate(ITextPointer)"/> 273/// <see cref="ITextView.ThrottleBackgroundTasksForUserInput"/> 290/// <see cref="ITextView.RenderScope"/> 295/// <see cref="ITextView.TextContainer"/> 300/// <see cref="ITextView.IsValid"/> 305/// <see cref="ITextView.RendersOwnSelection"/> 317/// <see cref="ITextView.TextSegments"/> 332/// <see cref="ITextView.BringPositionIntoViewCompleted"/> 337/// <see cref="ITextView.BringPointIntoViewCompleted"/> 342/// <see cref="ITextView.BringLineIntoViewCompleted"/> 347/// <see cref="ITextView.BringPageIntoViewCompleted"/> 352/// <see cref="ITextView.Updated"/> 465/// <see cref="ITextView.GetTextPositionFromPoint"/> 467ITextPointer ITextView.GetTextPositionFromPoint(Point point, bool snapToText) 473/// <see cref="ITextView.GetRectangleFromTextPosition"/> 475Rect ITextView.GetRectangleFromTextPosition(ITextPointer position) 481/// <see cref="ITextView.GetRawRectangleFromTextPosition"/> 483Rect ITextView.GetRawRectangleFromTextPosition(ITextPointer position, out Transform transform) 489/// <see cref="ITextView.GetTightBoundingGeometryFromTextPositions"/> 491Geometry ITextView.GetTightBoundingGeometryFromTextPositions(ITextPointer startPosition, ITextPointer endPosition) 497/// <see cref="ITextView.GetPositionAtNextLine"/> 499ITextPointer ITextView.GetPositionAtNextLine(ITextPointer position, double suggestedX, int count, out double newSuggestedX, out int linesMoved) 505/// <see cref="ITextView.GetPositionAtNextPage"/> 507ITextPointer ITextView.GetPositionAtNextPage(ITextPointer position, Point suggestedOffset, int count, out Point newSuggestedOffset, out int pagesMoved) 513/// <see cref="ITextView.IsAtCaretUnitBoundary"/> 515bool ITextView.IsAtCaretUnitBoundary(ITextPointer position) 521/// <see cref="ITextView.GetNextCaretUnitPosition"/> 523ITextPointer ITextView.GetNextCaretUnitPosition(ITextPointer position, LogicalDirection direction) 529/// <see cref="ITextView.GetBackspaceCaretUnitPosition"/> 531ITextPointer ITextView.GetBackspaceCaretUnitPosition(ITextPointer position) 537/// <see cref="ITextView.GetLineRange"/> 539TextSegment ITextView.GetLineRange(ITextPointer position) 545/// <see cref="ITextView.GetGlyphRuns"/> 547ReadOnlyCollection<GlyphRun> ITextView.GetGlyphRuns(ITextPointer start, ITextPointer end) 553/// <see cref="ITextView.Contains"/> 555bool ITextView.Contains(ITextPointer position) 561/// <see cref="ITextView.BringPositionIntoViewAsync"/> 563void ITextView.BringPositionIntoViewAsync(ITextPointer position, object userState) 569/// <see cref="ITextView.BringPointIntoViewAsync"/> 571void ITextView.BringPointIntoViewAsync(Point point, object userState) 577/// <see cref="ITextView.BringLineIntoViewAsync"/> 579void ITextView.BringLineIntoViewAsync(ITextPointer position, double suggestedX, int count, object userState) 585/// <see cref="ITextView.BringLineIntoViewAsync"/> 587void ITextView.BringPageIntoViewAsync(ITextPointer position, Point suggestedOffset, int count, object userState) 593/// <see cref="ITextView.CancelAsync"/> 595void ITextView.CancelAsync(object userState) 601/// <see cref="ITextView.Validate()"/> 603bool ITextView.Validate() 609/// <see cref="ITextView.Validate(Point)"/> 611bool ITextView.Validate(Point point) 617/// <see cref="ITextView.Validate(ITextPointer)"/> 619bool ITextView.Validate(ITextPointer position) 625/// <see cref="ITextView.ThrottleBackgroundTasksForUserInput"/> 627void ITextView.ThrottleBackgroundTasksForUserInput() 633/// <see cref="ITextView.RenderScope"/> 635UIElement ITextView.RenderScope 641/// <see cref="ITextView.TextContainer"/> 643ITextContainer ITextView.TextContainer 649/// <see cref="ITextView.IsValid"/> 651bool ITextView.IsValid 657/// <see cref="ITextView.RendersOwnSelection"/> 659bool ITextView.RendersOwnSelection 665/// <see cref="ITextView.TextSegments"/> 667ReadOnlyCollection<TextSegment> ITextView.TextSegments
MS\Internal\LayoutDump.cs (1)
589TextDocumentView tv = (TextDocumentView)((IServiceProvider)flowDocumentPage).GetService(typeof(ITextView));
MS\Internal\PtsHost\BreakRecordTable.cs (3)
254ITextView textView; 263textView = (ITextView)((IServiceProvider)page).GetService(typeof(ITextView));
MS\Internal\PtsHost\FlowDocumentPage.cs (7)
372Invariant.Assert(_textView != null && ((ITextView)_textView).TextSegments.Count > 0); 373return new HostedElements(((ITextView)_textView).TextSegments); 993for (int segmentIndex = 0; segmentIndex < ((ITextView)_textView).TextSegments.Count; segmentIndex++) 995if (((ITextPointer)elementPosition).CompareTo(((ITextView)_textView).TextSegments[segmentIndex].Start) >= 0 && 996((ITextPointer)elementPosition).CompareTo(((ITextView)_textView).TextSegments[segmentIndex].End) < 0) 1051TextDocumentView textView = (TextDocumentView)((IServiceProvider)this).GetService(typeof(ITextView)); 1159if (serviceType == typeof(ITextView))
System\Windows\Annotations\AnnotationService.cs (4)
274ITextView textView = GetTextView(document); 785ITextView textView = GetTextView(document); 1120static private ITextView GetTextView(IDocumentPaginatorSource document) 1122ITextView textView = null;
System\Windows\Automation\Peers\DocumentAutomationPeer.cs (2)
130ITextView textView = _textContainer?.TextView; 222ITextView textView = (textContainer != null) ? textContainer.TextView : null;
System\Windows\Automation\Peers\TextElementAutomationPeer.cs (5)
53ITextView textView = textElement.TextContainer.TextView; 100ITextView textView = textElement.TextContainer.TextView; 154ITextView textView = textElement.TextContainer.TextView; 173private Rect CalculateVisibleRect(ITextView textView, TextElement textElement, TextPointer startPointer, TextPointer endPointer) 226ITextView textView = textElement?.TextContainer?.TextView;
System\Windows\Controls\FlowDocumentScrollViewer.cs (8)
847ITextView textView = GetTextView(); 908ITextView textView = GetTextView(); 979ITextView textView = null; 1281private ITextView GetTextView() 1283ITextView textView = null; 1286textView = (ITextView)((IServiceProvider)RenderScope).GetService(typeof(ITextView)); 1896if (serviceType == typeof(ITextView))
System\Windows\Controls\PasswordBox.cs (2)
1041ITextView textview = TextEditor.GetTextView(_renderScope); 1242if ((textBoxView as ITextView)?.RendersOwnSelection == true)
System\Windows\Controls\PasswordTextContainer.cs (3)
461ITextView ITextContainer.TextView 475internal ITextView TextView 955private ITextView _textview;
System\Windows\Controls\Primitives\BulletDecorator.cs (1)
347TextDocumentView 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)
704ITextView masterPageTextView = null; 708masterPageTextView = ((IServiceProvider)masterPage).GetService(typeof(ITextView)) as ITextView; 782ITextView textView = null; 787textView = ((IServiceProvider)masterPage).GetService(typeof(ITextView)) as ITextView; 1780if (serviceType == typeof(ITextView))
System\Windows\Controls\Primitives\TextBoxBase.cs (4)
1891ITextView textView = (ITextView)((IServiceProvider)_renderScope).GetService(typeof(ITextView)); 2215if ((textBoxView as ITextView)?.RendersOwnSelection == true)
System\Windows\Controls\TextAdaptor.cs (7)
94ITextView textView = GetUpdatedTextView(); 173internal ITextView GetUpdatedTextView() 175ITextView textView = _textContainer.TextView; 225ITextView textView = GetUpdatedTextView(); 345private Rect GetVisibleRectangle(ITextView textView) 518ITextView textView = GetUpdatedTextView(); 667ITextView textView = GetUpdatedTextView();
System\Windows\Controls\TextBlock.cs (3)
283if (serviceType == typeof(ITextView)) 408if (((ITextView)_complexContent.TextView).Validate(point)) 2710internal ITextView TextView
System\Windows\Controls\TextRangeAdaptor.cs (7)
524ITextView textView; 672ITextView pageTextView = textView; 689ITextView pageTextView = textView; 730ITextView textView; 910ITextView pageTextView = textView; 993ITextView textView; 1136ITextView pageTextView = ((MultiPageTextView)textView).GetPageTextViewFromPosition(position);
System\Windows\Documents\CompositionAdorner.cs (6)
43internal CompositionAdorner(ITextView textView) : this(textView, new ArrayList()) 56internal CompositionAdorner(ITextView textView, ArrayList attributeRanges) 362internal void Initialize(ITextView textView) 402private ITextView _textView; 458internal AttributeRange(ITextView textView, ITextPointer start, ITextPointer end, TextServicesDisplayAttribute textServicesDisplayAttribute) 647private ITextView _textView;
System\Windows\Documents\DocumentSequence.cs (1)
1094if (serviceType == typeof(ITextView))
System\Windows\Documents\DocumentSequenceTextContainer.cs (2)
294ITextView ITextContainer.TextView 827private ITextView _textview;
System\Windows\Documents\DocumentSequenceTextPointer.cs (1)
364ITextView textView = ((ITextPointer)this).TextContainer.TextView;
System\Windows\Documents\DocumentSequenceTextView.cs (8)
471return ((ITextView)this).IsValid; 474/// <see cref="ITextView.Validate(Point)"/> 482return ((ITextView)this).IsValid; 540/// <see cref="ITextView.RendersOwnSelection"/> 586private ITextView ChildTextView 595_childTextView = (ITextView)isp.GetService(typeof(ITextView)); 633private ITextView _childTextView;
System\Windows\Documents\FixedDocument.cs (1)
1390if (serviceType == typeof(ITextView))
System\Windows\Documents\FixedTextContainer.cs (2)
263ITextView ITextContainer.TextView 665private ITextView _textview;
System\Windows\Documents\FixedTextPointer.cs (1)
573ITextView textView = ((ITextPointer)this).TextContainer.TextView;
System\Windows\Documents\FixedTextView.cs (1)
712/// <see cref="ITextView.RendersOwnSelection"/>
System\Windows\Documents\ImmComposition.cs (3)
613ITextView view; 720ITextView view; 1643ITextView view;
System\Windows\Documents\ITextContainer.cs (1)
139ITextView TextView { get; set; }
System\Windows\Documents\ITextSelection.cs (1)
160ITextView TextView { get; }
System\Windows\Documents\NullTextContainer.cs (1)
247ITextView ITextContainer.TextView
System\Windows\Documents\TextContainer.cs (3)
1776ITextView ITextContainer.TextView 1790internal ITextView TextView 3657private ITextView _textview;
System\windows\Documents\TextEditor.cs (7)
304internal static ITextView GetTextView(UIElement scope) 308return (serviceProvider != null) ? serviceProvider.GetService(typeof(ITextView)) as ITextView : null; 855internal ITextView TextView 1493Invariant.Assert(sender is ITextView); 1494((ITextView)sender).BringPointIntoViewCompleted -= new BringPointIntoViewCompletedEventHandler(HandleBringPointIntoViewCompleted); 1991private ITextView _textView;
System\windows\Documents\TextEditorDragDrop.cs (1)
683private ITextView TextView
System\windows\Documents\TextEditorSelection.cs (12)
118internal static TextSegment GetNormalizedLineRange(ITextView textView, ITextPointer position) 142internal static bool IsPaginated(ITextView textview) 1780Invariant.Assert(sender is ITextView); 1781((ITextView)sender).BringLineIntoViewCompleted -= new BringLineIntoViewCompletedEventHandler(HandleMoveByLineCompleted); 1810Invariant.Assert(sender is ITextView); 1811((ITextView)sender).BringPageIntoViewCompleted -= new BringPageIntoViewCompletedEventHandler(HandleMoveByPageCompleted); 1842Invariant.Assert(sender is ITextView); 1843((ITextView)sender).BringLineIntoViewCompleted -= new BringLineIntoViewCompletedEventHandler(HandleSelectByLineCompleted); 1905Invariant.Assert(sender is ITextView); 1906((ITextView)sender).BringPageIntoViewCompleted -= new BringPageIntoViewCompletedEventHandler(HandleSelectByPageCompleted); 2455private static double GetAbsoluteXOffset(ITextView textview, ITextPointer position) 2476private static double GetViewportXOffset(ITextView textview, double suggestedX)
System\Windows\Documents\TextPointerBase.cs (5)
685internal static bool IsAtLineWrappingPosition(ITextPointer position, ITextView textView) 801internal static int MoveToLineBoundary(ITextPointer thisPointer, ITextView textView, int count) 807internal static int MoveToLineBoundary(ITextPointer thisPointer, ITextView textView, int count, bool respectNonMeargeableInlineStart) 867ITextView textView = thisPointer.TextContainer.TextView; 1120internal static bool ValidateLayout(ITextPointer thisPointer, ITextView textView)
System\Windows\Documents\TextRangeEditTables.cs (4)
1565internal static bool TableBorderHitTest(ITextView textView, Point pt) 1577ITextView textView, Point point, 1654internal static TableColumnResizeInfo StartColumnResize(ITextView textView, Point pt) 1688internal TableColumnResizeInfo(ITextView textView, Table table, int columnIndex, Rect columnRect, double tableAutofitWidth, double[] columnWidths)
System\windows\Documents\TextSelection.cs (2)
2630ITextView ITextSelection.TextView 2638private ITextView TextView
System\Windows\Documents\TextStore.cs (6)
945ITextView view; 1024ITextView view; 1148ITextView view; 2108internal ITextView TextView 2626private void GetVisualInfo(out PresentationSource source, out IWin32Window win32Window, out ITextView view) 3014ITextView view;