1 write to _textEditor
PresentationFramework (1)
System\windows\Documents\TextEditorDragDrop.cs (1)
73
_textEditor
= textEditor;
41 references to _textEditor
PresentationFramework (41)
System\windows\Documents\TextEditorDragDrop.cs (41)
92
ITextSelection selection =
_textEditor
.Selection;
94
if (
_textEditor
.UiScope is PasswordBox)
126
Point mouseDownPoint = e.GetPosition(
_textEditor
.TextView.RenderScope);
130
_textEditor
.Selection.SetSelectionByMouse(cursorPosition, mouseDownPoint);
153
ITextSelection selection =
_textEditor
.Selection;
171
IDataObject dataObject = TextEditorCopyPaste._CreateDataObject(
_textEditor
, /*isDragDrop:*/true);
184
_textEditor
.UiScope.ReleaseMouseCapture();
213
if (!
_textEditor
.IsReadOnly)
223
_textEditor
.UiScope, // dragSource,
236
if (!
_textEditor
.IsReadOnly && //
263
if (!
_textEditor
.IsReadOnly)
266
_textEditor
.UiScope, TextBox.TextProperty);
284
_caretDragDrop = new CaretElement(
_textEditor
, /*isBlinkEnabled:*/false);
341
if (!
_textEditor
.TextView.Validate(e.GetPosition(
_textEditor
.TextView.RenderScope)))
347
FrameworkElement scroller =
_textEditor
._Scroller;
367
double pageHeight = (double)
_textEditor
.UiScope.GetValue(TextEditor.PageHeightProperty);
401
_textEditor
.TextView.RenderScope.UpdateLayout(); // REVIEW:benwest:6/27/2006: This should use TextView.Validate, and check the return value instead of using IsValid below.
403
if (
_textEditor
.TextView.IsValid)
405
ITextPointer dragPosition = GetDropPosition(
_textEditor
.TextView.RenderScope as Visual, e.GetPosition(
_textEditor
.TextView.RenderScope));
414
bool italic = (
_textEditor
.AcceptsRichContent && fontStylePropertyValue != DependencyProperty.UnsetValue && (FontStyle)fontStylePropertyValue == FontStyles.Italic);
415
Brush caretBrush = TextSelection.GetCaretBrush(
_textEditor
);
439
Invariant.Assert(
_textEditor
.TextView.IsValid); // caller must guarantee this.
442
if (target !=
_textEditor
.TextView.RenderScope && target != null && (
_textEditor
.TextView.RenderScope).IsAncestorOf(target))
444
GeneralTransform transform = target.TransformToAncestor(
_textEditor
.TextView.RenderScope);
456
if (
_textEditor
.AcceptsRichContent)
508
ITextSelection selection =
_textEditor
.Selection;
528
if (!
_textEditor
.TextView.Validate(e.GetPosition(
_textEditor
.TextView.RenderScope)))
535
ITextPointer dropPosition = GetDropPosition(
_textEditor
.TextView.RenderScope as Visual, e.GetPosition(
_textEditor
.TextView.RenderScope));
579
e.Handled = TextEditorCopyPaste._DoPaste(
_textEditor
, e.Data, /*isDragDrop:*/true);
590
_textEditor
.UiScope.Focus();
628
if (!
_textEditor
.IsReadOnly &&
_textEditor
.TextView != null &&
_textEditor
.TextView.RenderScope != null)
630
Window window = Window.GetWindow(
_textEditor
.TextView.RenderScope);
654
source = PresentationSource.CriticalFromVisual(
_textEditor
.UiScope);
670
return
_textEditor
.TextView;