1 write to _textEditor
PresentationFramework (1)
System\windows\Documents\TextEditorDragDrop.cs (1)
72
_textEditor
= textEditor;
41 references to _textEditor
PresentationFramework (41)
System\windows\Documents\TextEditorDragDrop.cs (41)
91
ITextSelection selection =
_textEditor
.Selection;
93
if (
_textEditor
.UiScope is PasswordBox)
125
Point mouseDownPoint = e.GetPosition(
_textEditor
.TextView.RenderScope);
129
_textEditor
.Selection.SetSelectionByMouse(cursorPosition, mouseDownPoint);
152
ITextSelection selection =
_textEditor
.Selection;
170
IDataObject dataObject = TextEditorCopyPaste._CreateDataObject(
_textEditor
, /*isDragDrop:*/true);
183
_textEditor
.UiScope.ReleaseMouseCapture();
212
if (!
_textEditor
.IsReadOnly)
222
_textEditor
.UiScope, // dragSource,
235
if (!
_textEditor
.IsReadOnly && //
262
if (!
_textEditor
.IsReadOnly)
265
_textEditor
.UiScope, TextBox.TextProperty);
283
_caretDragDrop = new CaretElement(
_textEditor
, /*isBlinkEnabled:*/false);
340
if (!
_textEditor
.TextView.Validate(e.GetPosition(
_textEditor
.TextView.RenderScope)))
346
FrameworkElement scroller =
_textEditor
._Scroller;
366
double pageHeight = (double)
_textEditor
.UiScope.GetValue(TextEditor.PageHeightProperty);
400
_textEditor
.TextView.RenderScope.UpdateLayout(); // REVIEW:benwest:6/27/2006: This should use TextView.Validate, and check the return value instead of using IsValid below.
402
if (
_textEditor
.TextView.IsValid)
404
ITextPointer dragPosition = GetDropPosition(
_textEditor
.TextView.RenderScope as Visual, e.GetPosition(
_textEditor
.TextView.RenderScope));
413
bool italic = (
_textEditor
.AcceptsRichContent && fontStylePropertyValue != DependencyProperty.UnsetValue && (FontStyle)fontStylePropertyValue == FontStyles.Italic);
414
Brush caretBrush = TextSelection.GetCaretBrush(
_textEditor
);
438
Invariant.Assert(
_textEditor
.TextView.IsValid); // caller must guarantee this.
441
if (target !=
_textEditor
.TextView.RenderScope && target != null && (
_textEditor
.TextView.RenderScope).IsAncestorOf(target))
443
GeneralTransform transform = target.TransformToAncestor(
_textEditor
.TextView.RenderScope);
455
if (
_textEditor
.AcceptsRichContent)
507
ITextSelection selection =
_textEditor
.Selection;
527
if (!
_textEditor
.TextView.Validate(e.GetPosition(
_textEditor
.TextView.RenderScope)))
534
ITextPointer dropPosition = GetDropPosition(
_textEditor
.TextView.RenderScope as Visual, e.GetPosition(
_textEditor
.TextView.RenderScope));
578
e.Handled = TextEditorCopyPaste._DoPaste(
_textEditor
, e.Data, /*isDragDrop:*/true);
589
_textEditor
.UiScope.Focus();
627
if (!
_textEditor
.IsReadOnly &&
_textEditor
.TextView != null &&
_textEditor
.TextView.RenderScope != null)
629
Window window = Window.GetWindow(
_textEditor
.TextView.RenderScope);
653
source = PresentationSource.CriticalFromVisual(
_textEditor
.UiScope);
669
return
_textEditor
.TextView;