27 references to TextSelectionInternal
PresentationFramework (27)
System\Windows\Controls\Primitives\TextBoxBase.cs (7)
160
using (this.
TextSelectionInternal
.DeclareChangeBlock())
162
TextSelectionInternal
.Select(_textContainer.Start, _textContainer.End);
1702
if (this.
TextSelectionInternal
.ChangeBlockLevel > 0)
2063
textBox.
TextSelectionInternal
.UpdateCaretState(CaretScrollMethod.None);
2064
((ITextSelection)textBox.
TextSelectionInternal
).RefreshCaret();
2197
if (textBoxBase.
TextSelectionInternal
!= null)
2199
CaretElement caretElement = textBoxBase.
TextSelectionInternal
.CaretElement;
System\Windows\Controls\RichTextBox.cs (2)
366
if (_document != null && this.
TextSelectionInternal
.ChangeBlockLevel > 0)
559
return (TextSelection)
TextSelectionInternal
;
System\Windows\Controls\TextBox.cs (18)
184
TextSelectionInternal
.Select(newStart, newEnd);
192
using (this.
TextSelectionInternal
.DeclareChangeBlock())
195
TextSelectionInternal
.Select(this.TextContainer.Start, this.TextContainer.Start);
774
return
TextSelectionInternal
.Text;
778
using (this.
TextSelectionInternal
.DeclareChangeBlock())
780
TextSelectionInternal
.Text = value;
804
return
TextSelectionInternal
.Start.GetOffsetToPosition(
TextSelectionInternal
.End);
811
int maxLength =
TextSelectionInternal
.Start.GetOffsetToPosition(TextContainer.End);
816
TextPointer newEnd = new TextPointer(
TextSelectionInternal
.Start, value, LogicalDirection.Forward);
822
TextSelectionInternal
.Select(
TextSelectionInternal
.Start, newEnd);
845
return this.
TextSelectionInternal
.Start.Offset;
852
int selectionLength =
TextSelectionInternal
.Start.GetOffsetToPosition(
TextSelectionInternal
.End);
878
TextSelectionInternal
.Select(newStart, newEnd);
1343
return (TextSelection)
TextSelectionInternal
;
1657
using (
TextSelectionInternal
.DeclareChangeBlock())