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)
919private void GetSegmentGeometry(GeometryGroup geometry, TextSegment segment, ITextView parentView) 921List<ITextView> textViews = TextSelectionHelper.GetDocumentPageTextViews(segment); 924foreach (ITextView view in textViews) 939private Geometry GetPageGeometry(TextSegment segment, ITextView view, ITextView parentView) 1103ITextView 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); 938ITextView 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 2581((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)
743if (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)) 596/// <see cref="ITextView.GetTextPositionFromPoint"/> 598ITextPointer ITextView.GetTextPositionFromPoint(Point point, bool snapToText) 621/// <see cref="ITextView.GetRectangleFromTextPosition"/> 623Rect ITextView.GetRectangleFromTextPosition(ITextPointer position) 675/// <see cref="ITextView.GetRawRectangleFromTextPosition"/> 677Rect ITextView.GetRawRectangleFromTextPosition(ITextPointer position, out Transform transform) 681return ((ITextView)this).GetRectangleFromTextPosition(position); 685/// <see cref="ITextView.GetTightBoundingGeometryFromTextPositions"/> 687Geometry ITextView.GetTightBoundingGeometryFromTextPositions(ITextPointer startPosition, ITextPointer endPosition) 764/// <see cref="ITextView.GetPositionAtNextLine"/> 766ITextPointer ITextView.GetPositionAtNextLine(ITextPointer position, double suggestedX, int count, out double newSuggestedX, out int linesMoved) 796/// <see cref="ITextView.GetPositionAtNextPage"/> 798ITextPointer ITextView.GetPositionAtNextPage(ITextPointer position, Point suggestedOffset, int count, out Point newSuggestedOffset, out int pagesMoved) 811/// <see cref="ITextView.IsAtCaretUnitBoundary"/> 813bool ITextView.IsAtCaretUnitBoundary(ITextPointer position) 850/// <see cref="ITextView.GetNextCaretUnitPosition"/> 852ITextPointer ITextView.GetNextCaretUnitPosition(ITextPointer position, LogicalDirection direction) 927/// <see cref="ITextView.GetBackspaceCaretUnitPosition"/> 929ITextPointer ITextView.GetBackspaceCaretUnitPosition(ITextPointer position) 975/// <see cref="ITextView.GetLineRange"/> 977TextSegment ITextView.GetLineRange(ITextPointer position) 991/// <see cref="ITextView.GetGlyphRuns"/> 993ReadOnlyCollection<GlyphRun> ITextView.GetGlyphRuns(ITextPointer start, ITextPointer end) 1001/// <see cref="ITextView.Contains"/> 1003bool ITextView.Contains(ITextPointer position) 1009/// <see cref="ITextView.BringPositionIntoViewAsync"/> 1011void ITextView.BringPositionIntoViewAsync(ITextPointer position, object userState) 1020/// <see cref="ITextView.BringPointIntoViewAsync"/> 1022void ITextView.BringPointIntoViewAsync(Point point, object userState) 1031/// <see cref="ITextView.BringLineIntoViewAsync"/> 1033void ITextView.BringLineIntoViewAsync(ITextPointer position, double suggestedX, int count, object userState) 1042/// <see cref="ITextView.BringPageIntoViewAsync"/> 1044void ITextView.BringPageIntoViewAsync(ITextPointer position, Point suggestedOffset, int count, object userState) 1053/// <see cref="ITextView.CancelAsync"/> 1055void ITextView.CancelAsync(object userState) 1064/// <see cref="ITextView.Validate()"/> 1066bool ITextView.Validate() 1073/// <see cref="ITextView.Validate(Point)"/> 1075bool ITextView.Validate(Point point) 1077return ((ITextView)this).Validate(); 1081/// <see cref="ITextView.Validate(ITextPointer)"/> 1083bool ITextView.Validate(ITextPointer position) 1127/// <see cref="ITextView.ThrottleBackgroundTasksForUserInput"/> 1129void 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)
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); 985for (int segmentIndex = 0; segmentIndex < ((ITextView)_textView).TextSegments.Count; segmentIndex++) 987if (((ITextPointer)elementPosition).CompareTo(((ITextView)_textView).TextSegments[segmentIndex].Start) >= 0 && 988((ITextPointer)elementPosition).CompareTo(((ITextView)_textView).TextSegments[segmentIndex].End) < 0) 1043TextDocumentView textView = (TextDocumentView)((IServiceProvider)this).GetService(typeof(ITextView)); 1151if (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 != null) ? textContainer.TextView : null;
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)
846ITextView textView = GetTextView(); 907ITextView textView = GetTextView(); 978ITextView textView = null; 1282private ITextView GetTextView() 1284ITextView textView = null; 1287textView = (ITextView)((IServiceProvider)RenderScope).GetService(typeof(ITextView)); 1899if (serviceType == typeof(ITextView))
System\Windows\Controls\PasswordBox.cs (2)
1024ITextView textview = TextEditor.GetTextView(_renderScope); 1225if ((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)
688ITextView masterPageTextView = null; 692masterPageTextView = ((IServiceProvider)masterPage).GetService(typeof(ITextView)) as ITextView; 766ITextView textView = null; 771textView = ((IServiceProvider)masterPage).GetService(typeof(ITextView)) as ITextView; 1763if (serviceType == typeof(ITextView))
System\Windows\Controls\Primitives\TextBoxBase.cs (4)
1884ITextView textView = (ITextView)((IServiceProvider)_renderScope).GetService(typeof(ITextView)); 2205if ((textBoxView as ITextView)?.RendersOwnSelection == true)
System\Windows\Controls\TextAdaptor.cs (7)
91ITextView textView = GetUpdatedTextView(); 170internal ITextView GetUpdatedTextView() 172ITextView textView = _textContainer.TextView; 222ITextView textView = GetUpdatedTextView(); 342private Rect GetVisibleRectangle(ITextView textView) 515ITextView textView = GetUpdatedTextView(); 664ITextView textView = GetUpdatedTextView();
System\Windows\Controls\TextBlock.cs (3)
271if (serviceType == typeof(ITextView)) 396if (((ITextView)_complexContent.TextView).Validate(point)) 2698internal 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) 401private ITextView _textView; 457internal AttributeRange(ITextView textView, ITextPointer start, ITextPointer end, TextServicesDisplayAttribute textServicesDisplayAttribute) 646private ITextView _textView;
System\Windows\Documents\DocumentSequence.cs (1)
1081if (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)
463return ((ITextView)this).IsValid; 466/// <see cref="ITextView.Validate(Point)"/> 474return ((ITextView)this).IsValid; 532/// <see cref="ITextView.RendersOwnSelection"/> 578private ITextView ChildTextView 587_childTextView = (ITextView)isp.GetService(typeof(ITextView)); 625private ITextView _childTextView;
System\Windows\Documents\FixedDocument.cs (1)
1381if (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)
1771ITextView ITextContainer.TextView 1785internal ITextView TextView 3652private ITextView _textview;
System\windows\Documents\TextEditor.cs (7)
293internal static ITextView GetTextView(UIElement scope) 297return (serviceProvider != null) ? serviceProvider.GetService(typeof(ITextView)) as ITextView : null; 846internal ITextView TextView 1484Invariant.Assert(sender is ITextView); 1485((ITextView)sender).BringPointIntoViewCompleted -= new BringPointIntoViewCompletedEventHandler(HandleBringPointIntoViewCompleted); 1982private 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)
2629ITextView ITextSelection.TextView 2637private ITextView TextView
System\Windows\Documents\TextStore.cs (6)
934ITextView view; 1013ITextView view; 1137ITextView view; 2097internal ITextView TextView 2606private void GetVisualInfo(out PresentationSource source, out IWin32Window win32Window, out ITextView view) 2996ITextView view;