12 references to TextSelection
PresentationFramework (12)
src\Framework\MS\Internal\Documents\IFlowDocumentViewer.cs (2)
224
ITextSelection textSelection = Document.StructuralCache.TextContainer.
TextSelection
;
563
ITextSelection textSelection = flowDocument.StructuralCache.TextContainer.
TextSelection
;
src\Framework\System\Windows\Controls\FlowDocumentScrollViewer.cs (3)
222
textSelection = flowDocument.StructuralCache.TextContainer.
TextSelection
;
1001
Document.StructuralCache.TextContainer.
TextSelection
== null)
1208
newDocument.StructuralCache.TextContainer.
TextSelection
!= null)
src\Framework\System\Windows\Controls\Primitives\TextBoxBase.cs (1)
1505
Invariant.Assert(textContainer.
TextSelection
== null);
src\Framework\System\Windows\Controls\RichTextBox.cs (1)
372
value.StructuralCache.TextContainer.
TextSelection
!= null)
src\Framework\System\Windows\Controls\SinglePageViewer.cs (1)
152
textSelection = flowDocument.StructuralCache.TextContainer.
TextSelection
;
src\Framework\System\Windows\Documents\Hyperlink.cs (3)
240
return (this.TextContainer.
TextSelection
!= null &&
241
!this.TextContainer.
TextSelection
.TextEditor.IsReadOnly);
854
e.Cursor = link.TextContainer.
TextSelection
.TextEditor._cursor;
src\Framework\System\Windows\Documents\TextContainer.cs (1)
1772
return this.
TextSelection
;