75 references to ContentEnd
PresentationFramework (75)
MS\Internal\Annotations\Anchoring\TextSelectionProcessor.cs (1)
499end = textElement.ContentEnd;
MS\Internal\Documents\ContentHostHelper.cs (1)
122textView.Contains(contentElement.ContentEnd))
MS\Internal\Documents\TableTextElementCollectionInternal.cs (3)
50item.RepositionWithContent(Owner.ContentEnd); 117item.RepositionWithContent(Owner.ContentEnd); 326: new RangeContentEnumerator(Owner.ContentStart, Owner.ContentEnd);
MS\Internal\Documents\TextDocumentView.cs (4)
875position = blockUIContainer.ContentEnd.CreatePointer(LogicalDirection.Backward); 2400lineRange = new TextSegment(blockUIContainer.ContentStart.CreatePointer(LogicalDirection.Forward), blockUIContainer.ContentEnd.CreatePointer(LogicalDirection.Backward)); 2907positionOut = blockUIContainer.ContentEnd.CreatePointer(LogicalDirection.Backward); 3520if (textPointer.CompareTo(textElement.ContentEnd) == 0)
MS\Internal\PtsHost\TableParaClient.cs (3)
865if (startPosition.CompareTo(cpc.Cell.ContentEnd) <= 0) 922if(position.CompareTo(cpc.Cell.ContentStart) >= 0 && position.CompareTo(cpc.Cell.ContentEnd) <= 0) 1135if(((TextPointer)position).CompareTo(row.ContentEnd) == 0)
MS\Internal\PtsHost\TableParagraph.cs (1)
561StructuralCache.FormattingOwner.Formatter.OnContentInvalidated(true, Table.ContentStart, Table.ContentEnd);
MS\Internal\PtsHost\UIElementParaClient.cs (1)
142if (startPosition.CompareTo(((BlockUIContainer)Paragraph.Element).ContentEnd) < 0 &&
System\Windows\Automation\Peers\TextElementAutomationPeer.cs (7)
40return TextContainerHelper.GetAutomationPeersFromRange(textElement.ContentStart, textElement.ContentEnd, null); 56Geometry geometry = textView.GetTightBoundingGeometryFromTextPositions(textElement.ContentStart, textElement.ContentEnd); 97if (textView == null || !textView.IsValid || (!textView.Contains(textElement.ContentStart) && !textView.Contains(textElement.ContentEnd))) 118if (endPosition == null || endPosition.CompareTo(textElement.ContentEnd) > 0) 119endPosition = textElement.ContentEnd; 151if (textView == null || !textView.IsValid || (!textView.Contains(textElement.ContentStart) && !textView.Contains(textElement.ContentEnd))) 156if (CalculateVisibleRect(textView, textElement, textElement.ContentStart, textElement.ContentEnd) == Rect.Empty)
System\Windows\Controls\ComboBox.cs (1)
1614strValue += TextRangeBase.GetTextInternal(textElement.ContentStart, textElement.ContentEnd);
System\Windows\Controls\DeferredRunTextReference.cs (1)
44return TextRangeBase.GetTextInternal(_run.ContentStart, _run.ContentEnd);
System\Windows\Controls\RichTextBox.cs (1)
478firstInline.ContentStart.CompareTo(firstInline.ContentEnd) == 0)
System\Windows\Controls\TextAdaptor.cs (1)
608rangeEnd = ((TextElement)parent).ContentEnd;
System\Windows\Documents\BlockUIContainer.cs (1)
87textContainer.DeleteContentInternal(contentStart, this.ContentEnd);
System\Windows\Documents\Hyperlink.cs (2)
101TextPointer stop = this.ContentEnd; 784return TextRangeBase.GetTextInternal(this.ContentStart, this.ContentEnd);
System\Windows\Documents\InlineUIContainer.cs (1)
120textContainer.DeleteContentInternal(contentStart, this.ContentEnd);
System\Windows\Documents\List.cs (1)
191while (textNav.CompareTo(this.ContentEnd) != 0)
System\Windows\Documents\Paragraph.cs (1)
249ITextPointer end = paragraph.ContentEnd;
System\Windows\Documents\Run.cs (1)
260textContainer.DeleteContentInternal(contentStart, run.ContentEnd);
System\windows\Documents\TextEditorTyping.cs (2)
1438This.Selection.Select(cell.ContentStart, cell.ContentEnd); 1490This.Selection.Select(cell.ContentStart, cell.ContentEnd);
System\Windows\Documents\TextElement.cs (2)
416return this.ContentStart.CompareTo(position) <= 0 && this.ContentEnd.CompareTo(position) >= 0; 919: new RangeContentEnumerator(this.ContentStart, this.ContentEnd);
System\Windows\Documents\TextElementCollection.cs (1)
973this.Parent is TextElement ? ((TextElement)this.Parent).ContentEnd : this.TextContainer.End;
System\Windows\Documents\TextPointer.cs (1)
60/// <see cref="TextElement.ContentStart"/> and <see cref="TextElement.ContentEnd"/>, etc.
System\Windows\Documents\TextRange.cs (1)
1603this.Select(blockUIContainer.ContentStart, blockUIContainer.ContentEnd);
System\Windows\Documents\TextRangeBase.cs (1)
262thisRange.Select(cell.ContentStart, cell.ContentEnd);
System\Windows\Documents\TextRangeEdit.cs (9)
425if (parent is Span && parent.ContentEnd.CompareTo(end) > 0) 547newElement = InsertElementClone(position, element.ContentEnd, element); 807TextPointer contentEnd = block.ContentEnd; 1301previousPosition = ((Inline)previousPosition.GetAdjacentElement(LogicalDirection.Backward)).ContentEnd; 2179ClearPropertyValueFromSpansAndRuns(inline.ContentStart, inline.ContentEnd, formattingProperty); 2209ClearPropertyValueFromSpansAndRuns(span.ContentStart, span.ContentEnd, formattingProperty); 2218Invariant.Assert(start.Paragraph.ContentEnd.CompareTo(end) < 0); 2221SetStructuralInlineProperty(start, start.Paragraph.ContentEnd, formattingProperty, value); 2240SetStructuralInlineProperty(paragraph.ContentStart, paragraph.ContentEnd, formattingProperty, value);
System\Windows\Documents\TextRangeEditLists.cs (9)
59if (sublistOfSecondParagraph.ElementEnd.CompareTo(secondListItem.ContentEnd) == 0) 65secondListItem.Reposition(sublistOfSecondParagraph.ElementEnd, secondListItem.ContentEnd); 82if (secondParagraphOrBlockUIContainer.ElementEnd.CompareTo(parentBlock.ContentEnd) == 0) 90parentBlock.Reposition(secondParagraphOrBlockUIContainer.ElementEnd, parentBlock.ContentEnd); 375if (listItem.ContentStart.CompareTo(listItem.ContentEnd) == 0) 509TextPointer outerListItemEnd = outerListItem.ContentEnd; 531TextPointer mergePosition = lastListItem.ContentEnd; 561if (listItem.ContentStart.CompareTo(listItem.ContentEnd) == 0) 775adjustedEnd = list.ContentEnd;
System\Windows\Documents\TextRangeEditTables.cs (14)
381movingRow != null ? movingRow.ContentEnd : movingPosition)); 388anchorRow != null ? anchorRow.ContentEnd : anchorPosition)); 452movingPosition = anchorCell.ContentEnd.GetInsertionPosition(); 528movingPosition = movingCell.ContentEnd.GetInsertionPosition().GetNextInsertionPosition(LogicalDirection.Forward); 540movingPosition = anchorCell.Table.ContentEnd; 567return (direction == LogicalDirection.Forward) ? row.ContentEnd.GetNextInsertionPosition(LogicalDirection.Forward) : 599return (direction == LogicalDirection.Forward) ? row.ContentEnd.GetNextInsertionPosition(LogicalDirection.Forward) : 1022TextRange rowsSegment = new TextRange(startRow.ContentStart, endRow.ContentEnd); 1040TextRange rowsSegment = new TextRange(startRow.ContentStart, startRow.Table.ContentEnd); 1053TextRange rowsSegment = new TextRange(endRow.Table.ContentStart, endRow.ContentEnd); 1205return rowCount > 0 ? new TextRange(firstInsertedRow.ContentStart, lastInsertedRow.ContentEnd) : new TextRange(lastInsertedRow.ContentStart, firstInsertedRow.ContentEnd); 1992TextPointer end = endCell.ContentEnd.GetNextInsertionPosition(LogicalDirection.Forward); 1994Invariant.Assert(GetTableRowFromPosition(end) == GetTableRowFromPosition(endCell.ContentEnd), "Inconsistent Rows on end");
System\Windows\Documents\TextRangeSerialization.cs (2)
160if (((ITextPointer)fragment.ContentStart).CompareTo(fragment.ContentEnd) == 0) 1224if (fragment.ContentStart.GetOffsetToPosition(fragment.ContentEnd) == 3)
System\windows\Documents\TextSelection.cs (1)
1080ITextPointer movingPosition = nextCell.ContentEnd.CreatePointer();