28 references to IsNull
PresentationFramework (28)
src\Framework\MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (4)
366while ((ind < _segments.Count) && (!rangeSegment.IsNull)) 393Debug.Assert(rangeEnumerator.Current.IsNull || !next || 444if (!rangeSegment.IsNull) 1007Debug.Assert(!_segment.IsNull, "null TextSegment");
src\Framework\MS\Internal\Documents\DocumentViewerHelper.cs (1)
155if (textSegment.IsNull)
src\Framework\System\Windows\Controls\Primitives\DocumentViewerBase.cs (1)
805if (textSegment.IsNull)
src\Framework\System\Windows\Controls\TextAdaptor.cs (1)
145if (!lineRange.IsNull)
src\Framework\System\Windows\Controls\TextRangeAdaptor.cs (3)
613if (!lineRange.IsNull) 635if (!lineRange.IsNull) 796if (!lineRange.IsNull)
src\Framework\System\Windows\Documents\CompositionAdorner.cs (1)
583if (textSegment.IsNull)
src\Framework\System\Windows\Documents\DocumentSequenceTextView.cs (1)
389if (!childTR.IsNull)
src\Framework\System\windows\Documents\TextEditorCharacters.cs (1)
156if (autoWordRange.IsNull)
src\Framework\System\windows\Documents\TextEditorDragDrop.cs (1)
489if (!lineRange.IsNull &&
src\Framework\System\windows\Documents\TextEditorSelection.cs (8)
129if (lineRange.IsNull) 816if (lineRange.IsNull) 867if (lineRange.IsNull) 1619if (lineRange.IsNull) 1664if (lineRange.IsNull) 1687if (!lineRange.IsNull && anchorLineRange.Start.CompareTo(This.Selection.AnchorPosition) == 0) 2383return lineRange.IsNull ? position : lineRange.Start; 2390return lineRange.IsNull ? position : lineRange.End;
src\Framework\System\Windows\Documents\TextPointer.cs (1)
1626if (!lineRange.IsNull)
src\Framework\System\Windows\Documents\TextPointerBase.cs (2)
699if (lineSegment.IsNull) 843if (!lineRange.IsNull)
src\Framework\System\windows\Documents\TextSegment.cs (1)
99return (!this.IsNull && this._start.CompareTo(position) <= 0 && position.CompareTo(this._end) <= 0);
src\Framework\System\windows\Documents\TextSelection.cs (1)
1289if (autoWordRange.IsNull)
src\Framework\System\Windows\Documents\TextStore.cs (1)
952if (!lineRange.IsNull)