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

Document.Copy() Method

Copies the currently selected text to the Clipboard.

Namespace: DevExpress.XtraRichEdit.API.Native

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

NuGet Package: DevExpress.RichEdit.Core

Declaration

void Copy()

Remarks

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

Note

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

See Also