19 references to TextRange
PresentationFramework (19)
src\Framework\MS\Internal\Controls\StickyNote\StickyNoteContentControl.cs (4)
215
TextRange rtbRange = new
TextRange
(richTextBox.Document.ContentStart, richTextBox.Document.ContentEnd);
243
TextRange rtbRange = new
TextRange
(document.ContentStart, document.ContentEnd);
271
TextRange textRange = new
TextRange
(richTextBox.Document.ContentStart, richTextBox.Document.ContentEnd);
312
TextRange range = new
TextRange
(document.ContentStart, document.ContentEnd);
src\Framework\System\Windows\Controls\Primitives\TextBoxBase.cs (1)
128
TextRange range = new
TextRange
(_textContainer.End, _textContainer.End);
src\Framework\System\Windows\Controls\TextBlock.cs (1)
507
return new
TextRange
(this.ContentStart, this.ContentEnd);
src\Framework\System\Windows\Documents\FlowDocument.cs (1)
168
return new
TextRange
(this.ContentStart, this.ContentEnd);
src\Framework\System\Windows\Documents\Speller.cs (1)
926
debugMessage += "Xml = " + new
TextRange
((TextPointer)start.TextContainer.Start, (TextPointer)start.TextContainer.End).Xml;
src\Framework\System\Windows\Documents\TextElement.cs (1)
314
return new
TextRange
(contentStart, contentEnd);
src\Framework\System\Windows\Documents\TextRangeEditLists.cs (2)
689
if (!UnindentListItems(new
TextRange
(start, GetPositionAfterList(startListItem.List))))
717
if (!UnindentListItems(new
TextRange
(endListItem.List.ContentStart, GetPositionAfterList(endListItem.List))))
src\Framework\System\Windows\Documents\TextRangeEditTables.cs (8)
1027
TextRange rowsSegment = new
TextRange
(startRow.ContentStart, endRow.ContentEnd);
1045
TextRange rowsSegment = new
TextRange
(startRow.ContentStart, startRow.Table.ContentEnd);
1058
TextRange rowsSegment = new
TextRange
(endRow.Table.ContentStart, endRow.ContentEnd);
1132
return new
TextRange
(textRange.Start, textRange.Start);
1210
return rowCount > 0 ? new
TextRange
(firstInsertedRow.ContentStart, lastInsertedRow.ContentEnd) : new
TextRange
(lastInsertedRow.ContentStart, firstInsertedRow.ContentEnd);
1940
return new
TextRange
(startCell.ContentStart, startCell.ContentStart);
2455
result = new
TextRange
(firstCell.ContentStart, firstCell.ContentStart);