1 write to _textEditor
PresentationFramework (1)
System\windows\Documents\TextEditorDragDrop.cs (1)
90
_textEditor
= textEditor;
41 references to _textEditor
PresentationFramework (41)
System\windows\Documents\TextEditorDragDrop.cs (41)
109
ITextSelection selection =
_textEditor
.Selection;
111
if (
_textEditor
.UiScope is PasswordBox)
143
Point mouseDownPoint = e.GetPosition(
_textEditor
.TextView.RenderScope);
147
_textEditor
.Selection.SetSelectionByMouse(cursorPosition, mouseDownPoint);
170
ITextSelection selection =
_textEditor
.Selection;
188
IDataObject dataObject = TextEditorCopyPaste._CreateDataObject(
_textEditor
, /*isDragDrop:*/true);
201
_textEditor
.UiScope.ReleaseMouseCapture();
230
if (!
_textEditor
.IsReadOnly)
240
_textEditor
.UiScope, // dragSource,
253
if (!
_textEditor
.IsReadOnly && //
280
if (!
_textEditor
.IsReadOnly)
283
_textEditor
.UiScope, TextBox.TextProperty);
301
_caretDragDrop = new CaretElement(
_textEditor
, /*isBlinkEnabled:*/false);
358
if (!
_textEditor
.TextView.Validate(e.GetPosition(
_textEditor
.TextView.RenderScope)))
364
FrameworkElement scroller =
_textEditor
._Scroller;
384
double pageHeight = (double)
_textEditor
.UiScope.GetValue(TextEditor.PageHeightProperty);
418
_textEditor
.TextView.RenderScope.UpdateLayout(); // REVIEW:benwest:6/27/2006: This should use TextView.Validate, and check the return value instead of using IsValid below.
420
if (
_textEditor
.TextView.IsValid)
422
ITextPointer dragPosition = GetDropPosition(
_textEditor
.TextView.RenderScope as Visual, e.GetPosition(
_textEditor
.TextView.RenderScope));
431
bool italic = (
_textEditor
.AcceptsRichContent && fontStylePropertyValue != DependencyProperty.UnsetValue && (FontStyle)fontStylePropertyValue == FontStyles.Italic);
432
Brush caretBrush = TextSelection.GetCaretBrush(
_textEditor
);
456
Invariant.Assert(
_textEditor
.TextView.IsValid); // caller must guarantee this.
459
if (target !=
_textEditor
.TextView.RenderScope && target != null && (
_textEditor
.TextView.RenderScope).IsAncestorOf(target))
461
GeneralTransform transform = target.TransformToAncestor(
_textEditor
.TextView.RenderScope);
473
if (
_textEditor
.AcceptsRichContent)
525
ITextSelection selection =
_textEditor
.Selection;
545
if (!
_textEditor
.TextView.Validate(e.GetPosition(
_textEditor
.TextView.RenderScope)))
552
ITextPointer dropPosition = GetDropPosition(
_textEditor
.TextView.RenderScope as Visual, e.GetPosition(
_textEditor
.TextView.RenderScope));
596
e.Handled = TextEditorCopyPaste._DoPaste(
_textEditor
, e.Data, /*isDragDrop:*/true);
607
_textEditor
.UiScope.Focus();
645
if (!
_textEditor
.IsReadOnly &&
_textEditor
.TextView != null &&
_textEditor
.TextView.RenderScope != null)
647
Window window = Window.GetWindow(
_textEditor
.TextView.RenderScope);
671
source = PresentationSource.CriticalFromVisual(
_textEditor
.UiScope);
687
return
_textEditor
.TextView;