TextEdit.Paste() Method

Replaces the current selection in the text editor with the contents of the clipboard.

Namespace: DevExpress.UI.Xaml.Editors

Assembly: DevExpress.UI.Xaml.Editors.v19.2.dll


public virtual void Paste()
Public Overridable Sub Paste


The text pasted by the Paste method replaces the currently selected text, if any. If no text is selected, the new text is inserted at the caret position.

To select the specified text within the editor, use the TextEdit.Select method. You can also select all the text in the editor via the TextEdit.SelectAll method. Use the TextEdit.Cut method to copy the selected text to the clipboard while deleting it from the edit box. The TextEdit.Delete deletes the currently selected text from the text editor.

See Also