18 references to TextRange
PresentationFramework (18)
MS\Internal\Controls\StickyNote\StickyNoteContentControl.cs (3)
209TextRange rtbRange = new TextRange(richTextBox.Document.ContentStart, richTextBox.Document.ContentEnd); 265TextRange textRange = new TextRange(richTextBox.Document.ContentStart, richTextBox.Document.ContentEnd); 306TextRange range = new TextRange(document.ContentStart, document.ContentEnd);
System\Windows\Controls\Primitives\TextBoxBase.cs (1)
117TextRange range = new TextRange(_textContainer.End, _textContainer.End);
System\Windows\Controls\TextBlock.cs (1)
489return new TextRange(this.ContentStart, this.ContentEnd);
System\Windows\Documents\FlowDocument.cs (1)
160return new TextRange(this.ContentStart, this.ContentEnd);
System\Windows\Documents\Speller.cs (1)
858debugMessage += $"Xml = {new TextRange((TextPointer)start.TextContainer.Start, (TextPointer)start.TextContainer.End).Xml}";
System\Windows\Documents\TextElement.cs (1)
309return new TextRange(contentStart, contentEnd);
System\Windows\Documents\TextRangeEditLists.cs (2)
687if (!UnindentListItems(new TextRange(start, GetPositionAfterList(startListItem.List)))) 715if (!UnindentListItems(new TextRange(endListItem.List.ContentStart, GetPositionAfterList(endListItem.List))))
System\Windows\Documents\TextRangeEditTables.cs (8)
1024TextRange rowsSegment = new TextRange(startRow.ContentStart, endRow.ContentEnd); 1042TextRange rowsSegment = new TextRange(startRow.ContentStart, startRow.Table.ContentEnd); 1055TextRange rowsSegment = new TextRange(endRow.Table.ContentStart, endRow.ContentEnd); 1129return new TextRange(textRange.Start, textRange.Start); 1207return rowCount > 0 ? new TextRange(firstInsertedRow.ContentStart, lastInsertedRow.ContentEnd) : new TextRange(lastInsertedRow.ContentStart, firstInsertedRow.ContentEnd); 1937return new TextRange(startCell.ContentStart, startCell.ContentStart); 2452result = new TextRange(firstCell.ContentStart, firstCell.ContentStart);