27 references to TextSelectionInternal
PresentationFramework (27)
src\Framework\System\Windows\Controls\Primitives\TextBoxBase.cs (7)
183
using (this.
TextSelectionInternal
.DeclareChangeBlock())
185
TextSelectionInternal
.Select(_textContainer.Start, _textContainer.End);
1731
if (this.
TextSelectionInternal
.ChangeBlockLevel > 0)
2094
textBox.
TextSelectionInternal
.UpdateCaretState(CaretScrollMethod.None);
2095
((ITextSelection)textBox.
TextSelectionInternal
).RefreshCaret();
2233
if (textBoxBase.
TextSelectionInternal
!= null)
2235
CaretElement caretElement = textBoxBase.
TextSelectionInternal
.CaretElement;
src\Framework\System\Windows\Controls\RichTextBox.cs (2)
377
if (_document != null && this.
TextSelectionInternal
.ChangeBlockLevel > 0)
570
return (TextSelection)
TextSelectionInternal
;
src\Framework\System\Windows\Controls\TextBox.cs (18)
197
TextSelectionInternal
.Select(newStart, newEnd);
205
using (this.
TextSelectionInternal
.DeclareChangeBlock())
208
TextSelectionInternal
.Select(this.TextContainer.Start, this.TextContainer.Start);
803
return
TextSelectionInternal
.Text;
807
using (this.
TextSelectionInternal
.DeclareChangeBlock())
809
TextSelectionInternal
.Text = value;
833
return
TextSelectionInternal
.Start.GetOffsetToPosition(
TextSelectionInternal
.End);
843
int maxLength =
TextSelectionInternal
.Start.GetOffsetToPosition(TextContainer.End);
848
TextPointer newEnd = new TextPointer(
TextSelectionInternal
.Start, value, LogicalDirection.Forward);
854
TextSelectionInternal
.Select(
TextSelectionInternal
.Start, newEnd);
877
return this.
TextSelectionInternal
.Start.Offset;
887
int selectionLength =
TextSelectionInternal
.Start.GetOffsetToPosition(
TextSelectionInternal
.End);
913
TextSelectionInternal
.Select(newStart, newEnd);
1335
return (TextSelection)
TextSelectionInternal
;
1650
using (
TextSelectionInternal
.DeclareChangeBlock())