2 implementations of Contains
PresentationFramework (2)
MS\Internal\Documents\TextBoxView.cs (1)
1003bool ITextView.Contains(ITextPointer position)
MS\Internal\Documents\TextViewBase.cs (1)
553bool ITextView.Contains(ITextPointer position)
39 references to Contains
PresentationFramework (39)
MS\Internal\Documents\ContentHostHelper.cs (2)
121if (textView.Contains(contentElement.ContentStart) || 122textView.Contains(contentElement.ContentEnd))
MS\Internal\Documents\DocumentGrid.cs (1)
2674TextView.Contains(tp));
MS\Internal\Documents\DocumentPageTextView.cs (2)
322/// <see cref="ITextView.Contains"/> 335return _pageTextView.Contains(position);
MS\Internal\Documents\DocumentViewerHelper.cs (2)
119if (textView != null && textView.Contains(textSelection.Start)) 413if (contextMenuPosition != null && textView != null && textView.IsValid && textView.Contains(contextMenuPosition))
MS\Internal\Documents\MultiPageTextView.cs (1)
300/// <see cref="ITextView.Contains"/>
MS\Internal\Documents\TextBoxView.cs (2)
1001/// <see cref="ITextView.Contains"/> 2916/// <see cref="ITextView.Contains"/>
MS\Internal\Documents\TextDocumentView.cs (1)
382/// <see cref="ITextView.Contains"/>
MS\Internal\Documents\TextParagraphView.cs (1)
277/// <see cref="ITextView.Contains"/>
MS\Internal\Documents\TextViewBase.cs (2)
116/// <see cref="ITextView.Contains"/> 551/// <see cref="ITextView.Contains"/>
System\Windows\Automation\Peers\TextElementAutomationPeer.cs (4)
97if (textView == null || !textView.IsValid || (!textView.Contains(textElement.ContentStart) && !textView.Contains(textElement.ContentEnd))) 151if (textView == null || !textView.IsValid || (!textView.Contains(textElement.ContentStart) && !textView.Contains(textElement.ContentEnd)))
System\Windows\Controls\FlowDocumentScrollViewer.cs (1)
847if (textView.Contains(contentPosition))
System\Windows\Controls\PasswordTextNavigator.cs (1)
624return (_container.TextView != null && _container.TextView.IsValid && _container.TextView.Contains(this));
System\Windows\Controls\TextAdaptor.cs (4)
101if (!textView.Contains(start) && start.CompareTo(textSegments[0].Start) < 0) 105if (!textView.Contains(end) && end.CompareTo(textSegments[textSegments.Count-1].End) > 0) 110if (!textView.Contains(start) || !textView.Contains(end))
System\Windows\Controls\TextRangeAdaptor.cs (9)
600if (expandStart && textView.Contains(_start)) 622if (expandEnd && snapEndPosition && textView.Contains(_end)) 668if (expandStart && textView.Contains(_start)) 685if (expandEnd && textView.Contains(_end)) 783if (textView != null && textView.IsValid && textView.Contains(position)) 906if (textView != null && textView.IsValid && textView.Contains(position)) 1085if (textView != null && textView.IsValid && textView.Contains(position)) 1129if (textView != null && textView.IsValid && textView.Contains(position)) 1179if (!textView.Contains(positionTemp))
System\Windows\Documents\DocumentSequenceTextPointer.cs (1)
348((ITextPointer)this).TextContainer.TextView.Contains(this));
System\Windows\Documents\DocumentSequenceTextView.cs (1)
439return ChildTextView.Contains(tp.ChildPointer.CreatePointer(position.LogicalDirection));
System\Windows\Documents\FixedTextPointer.cs (1)
556((ITextPointer)this).TextContainer.TextView.Contains(this));
System\windows\Documents\TextEditorSelection.cs (1)
2381textEditor.TextView != null && textEditor.TextView.IsValid && !textEditor.TextView.Contains(position) && IsPaginated(textEditor.TextView))
System\Windows\Documents\TextPointer.cs (1)
1517return _tree.TextView == null ? false : _tree.TextView.IsValid && _tree.TextView.Contains(this);
System\windows\Documents\TextSelection.cs (1)
255!this.TextView.Contains(movingPosition))