Skip to main content
A newer version of this page is available. .

TextEdit.Cut() Method

Moves the current selection in the text box to the Clipboard.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v19.1.dll

Declaration

public void Cut()

Remarks

The Cut method copies the selected text to the Clipboard while deleting it from the edit box. To copy the selection to the Clipboard without deleting, use the TextEdit.Copy method instead. Note that end-users can cut the selection using either the CTRL+X or SHIFT+DEL key combinations or using the built-in context menu. The Cut method is useful if you need to provide additional methods o cut the selected text.

See Also