Skip to main content

Document.Copy() Method

Copies the currently selected text to the Clipboard.

Namespace: DevExpress.XtraRichEdit.API.Native

Assembly: DevExpress.RichEdit.v25.1.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