Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

Document.Cut() Method

Removes the currently selected text and copies it to the Clipboard.

Namespace: DevExpress.XtraRichEdit.API.Native

Assembly: DevExpress.RichEdit.v20.2.Core.dll

NuGet Package: DevExpress.RichEdit.Core

Declaration

void Cut()

Remarks

Use the Document.Selection property to access currently selected text.

Note

The Cut method executes a UI command and is in effect only for RichEditControl (WinForms and WPF).

See Also