// Creates DropCaret internal void TargetEnsureDropCaret() { if (_caretDragDrop == null) { // // Add the caret. // Create caret to show it during the dragging operation. _caretDragDrop = new CaretElement(_textEditor, /*isBlinkEnabled:*/ false); // Initialize the caret. // _caretDragDrop.Hide(); } }
// Creates DropCaret internal void TargetEnsureDropCaret() { if (_caretDragDrop == null) { // We never delete drop caret, never detach it from view. Not a big deal, but not clear... // Add the caret. // Create caret to show it during the dragging operation. _caretDragDrop = new CaretElement(_textEditor, /*isBlinkEnabled:*/ false); // Initialize the caret. // (psarrett) Understand why this call is so important for AdornerLayer. _caretDragDrop.Hide(); } }
// Creates DropCaret internal void TargetEnsureDropCaret() { if (_caretDragDrop == null) { // // Add the caret. // Create caret to show it during the dragging operation. _caretDragDrop = new CaretElement(_textEditor, /*isBlinkEnabled:*/false); // Initialize the caret. // _caretDragDrop.Hide(); } }