27 references to TextSelectionInternal
PresentationFramework (27)
System\Windows\Controls\Primitives\TextBoxBase.cs (7)
153
using (this.
TextSelectionInternal
.DeclareChangeBlock())
155
TextSelectionInternal
.Select(_textContainer.Start, _textContainer.End);
1695
if (this.
TextSelectionInternal
.ChangeBlockLevel > 0)
2053
textBox.
TextSelectionInternal
.UpdateCaretState(CaretScrollMethod.None);
2054
((ITextSelection)textBox.
TextSelectionInternal
).RefreshCaret();
2187
if (textBoxBase.
TextSelectionInternal
!= null)
2189
CaretElement caretElement = textBoxBase.
TextSelectionInternal
.CaretElement;
System\Windows\Controls\RichTextBox.cs (2)
364
if (_document != null && this.
TextSelectionInternal
.ChangeBlockLevel > 0)
557
return (TextSelection)
TextSelectionInternal
;
System\Windows\Controls\TextBox.cs (18)
179
TextSelectionInternal
.Select(newStart, newEnd);
187
using (this.
TextSelectionInternal
.DeclareChangeBlock())
190
TextSelectionInternal
.Select(this.TextContainer.Start, this.TextContainer.Start);
769
return
TextSelectionInternal
.Text;
773
using (this.
TextSelectionInternal
.DeclareChangeBlock())
775
TextSelectionInternal
.Text = value;
799
return
TextSelectionInternal
.Start.GetOffsetToPosition(
TextSelectionInternal
.End);
806
int maxLength =
TextSelectionInternal
.Start.GetOffsetToPosition(TextContainer.End);
811
TextPointer newEnd = new TextPointer(
TextSelectionInternal
.Start, value, LogicalDirection.Forward);
817
TextSelectionInternal
.Select(
TextSelectionInternal
.Start, newEnd);
840
return this.
TextSelectionInternal
.Start.Offset;
847
int selectionLength =
TextSelectionInternal
.Start.GetOffsetToPosition(
TextSelectionInternal
.End);
873
TextSelectionInternal
.Select(newStart, newEnd);
1338
return (TextSelection)
TextSelectionInternal
;
1652
using (
TextSelectionInternal
.DeclareChangeBlock())