12 references to TextSelection
PresentationFramework (12)
MS\Internal\Documents\IFlowDocumentViewer.cs (2)
219
ITextSelection textSelection = Document.StructuralCache.TextContainer.
TextSelection
;
546
ITextSelection textSelection = flowDocument.StructuralCache.TextContainer.
TextSelection
;
System\Windows\Controls\FlowDocumentScrollViewer.cs (3)
214
textSelection = flowDocument.StructuralCache.TextContainer.
TextSelection
;
979
Document.StructuralCache.TextContainer.
TextSelection
== null)
1182
newDocument.StructuralCache.TextContainer.
TextSelection
!= null)
System\Windows\Controls\Primitives\TextBoxBase.cs (1)
1417
Invariant.Assert(textContainer.
TextSelection
== null);
System\Windows\Controls\RichTextBox.cs (1)
358
value.StructuralCache.TextContainer.
TextSelection
!= null)
System\Windows\Controls\SinglePageViewer.cs (1)
146
textSelection = flowDocument.StructuralCache.TextContainer.
TextSelection
;
System\Windows\Documents\Hyperlink.cs (3)
231
return (this.TextContainer.
TextSelection
!= null &&
232
!this.TextContainer.
TextSelection
.TextEditor.IsReadOnly);
809
e.Cursor = link.TextContainer.
TextSelection
.TextEditor._cursor;
System\Windows\Documents\TextContainer.cs (1)
1745
return this.
TextSelection
;