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