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