Skip to main content

Document.Copy() Method

Copies the currently selected text to the Clipboard.

Namespace: DevExpress.XtraRichEdit.API.Native

Assembly: DevExpress.RichEdit.v24.1.Core.dll

NuGet Packages: DevExpress.RichEdit.Core, DevExpress.Win.Navigation

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