2 implementations of Contains
PresentationFramework (2)
MS\Internal\Documents\TextBoxView.cs (1)
1005bool ITextView.Contains(ITextPointer position)
MS\Internal\Documents\TextViewBase.cs (1)
555bool ITextView.Contains(ITextPointer position)
39 references to Contains
PresentationFramework (39)
MS\Internal\Documents\ContentHostHelper.cs (2)
124if (textView.Contains(contentElement.ContentStart) || 125textView.Contains(contentElement.ContentEnd))
MS\Internal\Documents\DocumentGrid.cs (1)
2681TextView.Contains(tp));
MS\Internal\Documents\DocumentPageTextView.cs (2)
324/// <see cref="ITextView.Contains"/> 337return _pageTextView.Contains(position);
MS\Internal\Documents\DocumentViewerHelper.cs (2)
121if (textView != null && textView.Contains(textSelection.Start)) 415if (contextMenuPosition != null && textView != null && textView.IsValid && textView.Contains(contextMenuPosition))
MS\Internal\Documents\MultiPageTextView.cs (1)
302/// <see cref="ITextView.Contains"/>
MS\Internal\Documents\TextBoxView.cs (2)
1003/// <see cref="ITextView.Contains"/> 2918/// <see cref="ITextView.Contains"/>
MS\Internal\Documents\TextDocumentView.cs (1)
384/// <see cref="ITextView.Contains"/>
MS\Internal\Documents\TextParagraphView.cs (1)
283/// <see cref="ITextView.Contains"/>
MS\Internal\Documents\TextViewBase.cs (2)
118/// <see cref="ITextView.Contains"/> 553/// <see cref="ITextView.Contains"/>
System\Windows\Automation\Peers\TextElementAutomationPeer.cs (4)
101if (textView == null || !textView.IsValid || (!textView.Contains(textElement.ContentStart) && !textView.Contains(textElement.ContentEnd))) 155if (textView == null || !textView.IsValid || (!textView.Contains(textElement.ContentStart) && !textView.Contains(textElement.ContentEnd)))
System\Windows\Controls\FlowDocumentScrollViewer.cs (1)
850if (textView.Contains(contentPosition))
System\Windows\Controls\PasswordTextNavigator.cs (1)
628return (_container.TextView != null && _container.TextView.IsValid && _container.TextView.Contains(this));
System\Windows\Controls\TextAdaptor.cs (4)
104if (!textView.Contains(start) && start.CompareTo(textSegments[0].Start) < 0) 108if (!textView.Contains(end) && end.CompareTo(textSegments[textSegments.Count-1].End) > 0) 113if (!textView.Contains(start) || !textView.Contains(end))
System\Windows\Controls\TextRangeAdaptor.cs (9)
602if (expandStart && textView.Contains(_start)) 624if (expandEnd && snapEndPosition && textView.Contains(_end)) 670if (expandStart && textView.Contains(_start)) 687if (expandEnd && textView.Contains(_end)) 785if (textView != null && textView.IsValid && textView.Contains(position)) 908if (textView != null && textView.IsValid && textView.Contains(position)) 1087if (textView != null && textView.IsValid && textView.Contains(position)) 1131if (textView != null && textView.IsValid && textView.Contains(position)) 1181if (!textView.Contains(positionTemp))
System\Windows\Documents\DocumentSequenceTextPointer.cs (1)
354((ITextPointer)this).TextContainer.TextView.Contains(this));
System\Windows\Documents\DocumentSequenceTextView.cs (1)
447return ChildTextView.Contains(tp.ChildPointer.CreatePointer(position.LogicalDirection));
System\Windows\Documents\FixedTextPointer.cs (1)
561((ITextPointer)this).TextContainer.TextView.Contains(this));
System\windows\Documents\TextEditorSelection.cs (1)
2396textEditor.TextView != null && textEditor.TextView.IsValid && !textEditor.TextView.Contains(position) && IsPaginated(textEditor.TextView))
System\Windows\Documents\TextPointer.cs (1)
1522return _tree.TextView == null ? false : _tree.TextView.IsValid && _tree.TextView.Contains(this);
System\windows\Documents\TextSelection.cs (1)
258!this.TextView.Contains(movingPosition))