18 references to TextRange
PresentationFramework (18)
MS\Internal\Controls\StickyNote\StickyNoteContentControl.cs (3)
204
TextRange rtbRange = new
TextRange
(richTextBox.Document.ContentStart, richTextBox.Document.ContentEnd);
260
TextRange textRange = new
TextRange
(richTextBox.Document.ContentStart, richTextBox.Document.ContentEnd);
301
TextRange range = new
TextRange
(document.ContentStart, document.ContentEnd);
System\Windows\Controls\Primitives\TextBoxBase.cs (1)
108
TextRange range = new
TextRange
(_textContainer.End, _textContainer.End);
System\Windows\Controls\TextBlock.cs (1)
479
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)
854
debugMessage += $"Xml = {new
TextRange
((TextPointer)start.TextContainer.Start, (TextPointer)start.TextContainer.End).Xml}";
System\Windows\Documents\TextElement.cs (1)
308
return new
TextRange
(contentStart, contentEnd);
System\Windows\Documents\TextRangeEditLists.cs (2)
685
if (!UnindentListItems(new
TextRange
(start, GetPositionAfterList(startListItem.List))))
713
if (!UnindentListItems(new
TextRange
(endListItem.List.ContentStart, GetPositionAfterList(endListItem.List))))
System\Windows\Documents\TextRangeEditTables.cs (8)
1022
TextRange rowsSegment = new
TextRange
(startRow.ContentStart, endRow.ContentEnd);
1040
TextRange rowsSegment = new
TextRange
(startRow.ContentStart, startRow.Table.ContentEnd);
1053
TextRange rowsSegment = new
TextRange
(endRow.Table.ContentStart, endRow.ContentEnd);
1127
return new
TextRange
(textRange.Start, textRange.Start);
1205
return rowCount > 0 ? new
TextRange
(firstInsertedRow.ContentStart, lastInsertedRow.ContentEnd) : new
TextRange
(lastInsertedRow.ContentStart, firstInsertedRow.ContentEnd);
1935
return new
TextRange
(startCell.ContentStart, startCell.ContentStart);
2450
result = new
TextRange
(firstCell.ContentStart, firstCell.ContentStart);