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