Skip to main content
.NET Framework 4.5.2+

PasteSelectionCommand Class

A command to paste the text from the Clipboard over the selection.

Namespace: DevExpress.XtraRichEdit.Commands

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

Declaration

public class PasteSelectionCommand :
    TransactedInsertObjectCommand,
    IPasteSelectionCommand

Remarks

The PasteSelectionCommand is a multicommand consisting of two commands. The first command is the DevExpress.XtraRichEdit.Commands.DeleteNonEmptySelectionCommand, the next is the DevExpress.XtraRichEdit.Commands.PasteSelectionCoreCommand. The selection is deleted, and the Clipboard content is inserted in it’s place.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the PasteSelectionCommand class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

Inheritance

Show 11 items
Object
Command
DevExpress.Utils.Commands.ControlCommand<IRichEditControl, RichEditCommandId, DevExpress.XtraRichEdit.Localization.XtraRichEditStringId>
DevExpress.XtraRichEdit.Commands.RichEditCommandBase<DevExpress.XtraRichEdit.Localization.XtraRichEditStringId>
RichEditCommand
RichEditMenuItemSimpleCommand
MultiCommand
DevExpress.XtraRichEdit.Commands.TransactedMultiCommand
DevExpress.XtraRichEdit.Commands.TransactedInsertObjectCommand
PasteSelectionCommand
See Also