Skip to main content
.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.v22.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