2 implementations of Contains
PresentationFramework (2)
src\Framework\MS\Internal\Documents\TextBoxView.cs (1)
1009
bool ITextView.
Contains
(ITextPointer position)
src\Framework\MS\Internal\Documents\TextViewBase.cs (1)
557
bool ITextView.
Contains
(ITextPointer position)
39 references to Contains
PresentationFramework (39)
src\Framework\MS\Internal\Documents\ContentHostHelper.cs (2)
126
if (textView.
Contains
(contentElement.ContentStart) ||
127
textView.
Contains
(contentElement.ContentEnd))
src\Framework\MS\Internal\Documents\DocumentGrid.cs (1)
2724
TextView.
Contains
(tp));
src\Framework\MS\Internal\Documents\DocumentPageTextView.cs (2)
326
/// <see cref="ITextView.
Contains
"/>
339
return _pageTextView.
Contains
(position);
src\Framework\MS\Internal\Documents\DocumentViewerHelper.cs (2)
136
if (textView != null && textView.
Contains
(textSelection.Start))
435
if (contextMenuPosition != null && textView != null && textView.IsValid && textView.
Contains
(contextMenuPosition))
src\Framework\MS\Internal\Documents\MultiPageTextView.cs (1)
305
/// <see cref="ITextView.
Contains
"/>
src\Framework\MS\Internal\Documents\TextBoxView.cs (2)
1007
/// <see cref="ITextView.
Contains
"/>
2896
/// <see cref="ITextView.
Contains
"/>
src\Framework\MS\Internal\Documents\TextDocumentView.cs (1)
391
/// <see cref="ITextView.
Contains
"/>
src\Framework\MS\Internal\Documents\TextParagraphView.cs (1)
305
/// <see cref="ITextView.
Contains
"/>
src\Framework\MS\Internal\Documents\TextViewBase.cs (2)
120
/// <see cref="ITextView.
Contains
"/>
555
/// <see cref="ITextView.
Contains
"/>
src\Framework\System\Windows\Automation\Peers\TextElementAutomationPeer.cs (4)
115
if (textView == null || !textView.IsValid || (!textView.
Contains
(textElement.ContentStart) && !textView.
Contains
(textElement.ContentEnd)))
169
if (textView == null || !textView.IsValid || (!textView.
Contains
(textElement.ContentStart) && !textView.
Contains
(textElement.ContentEnd)))
src\Framework\System\Windows\Controls\FlowDocumentScrollViewer.cs (1)
856
if (textView.
Contains
(contentPosition))
src\Framework\System\Windows\Controls\PasswordTextNavigator.cs (1)
630
return (_container.TextView != null && _container.TextView.IsValid && _container.TextView.
Contains
(this));
src\Framework\System\Windows\Controls\TextAdaptor.cs (4)
112
if (!textView.
Contains
(start) && start.CompareTo(textSegments[0].Start) < 0)
116
if (!textView.
Contains
(end) && end.CompareTo(textSegments[textSegments.Count-1].End) > 0)
121
if (!textView.
Contains
(start) || !textView.
Contains
(end))
src\Framework\System\Windows\Controls\TextRangeAdaptor.cs (9)
610
if (expandStart && textView.
Contains
(_start))
632
if (expandEnd && snapEndPosition && textView.
Contains
(_end))
678
if (expandStart && textView.
Contains
(_start))
695
if (expandEnd && textView.
Contains
(_end))
793
if (textView != null && textView.IsValid && textView.
Contains
(position))
916
if (textView != null && textView.IsValid && textView.
Contains
(position))
1096
if (textView != null && textView.IsValid && textView.
Contains
(position))
1140
if (textView != null && textView.IsValid && textView.
Contains
(position))
1190
if (!textView.
Contains
(positionTemp))
src\Framework\System\Windows\Documents\DocumentSequenceTextPointer.cs (1)
358
((ITextPointer)this).TextContainer.TextView.
Contains
(this));
src\Framework\System\Windows\Documents\DocumentSequenceTextView.cs (1)
462
return ChildTextView.
Contains
(tp.ChildPointer.CreatePointer(position.LogicalDirection));
src\Framework\System\Windows\Documents\FixedTextPointer.cs (1)
579
((ITextPointer)this).TextContainer.TextView.
Contains
(this));
src\Framework\System\windows\Documents\TextEditorSelection.cs (1)
2405
textEditor.TextView != null && textEditor.TextView.IsValid && !textEditor.TextView.
Contains
(position) && IsPaginated(textEditor.TextView))
src\Framework\System\Windows\Documents\TextPointer.cs (1)
1536
return _tree.TextView == null ? false : _tree.TextView.IsValid && _tree.TextView.
Contains
(this);
src\Framework\System\windows\Documents\TextSelection.cs (1)
261
!this.TextView.
Contains
(movingPosition))