Skip to main content

PasteSelectionCommand Class

Represents a command used to paste the text from the clipboard over the selection.

Namespace: DevExpress.XtraRichEdit.Commands

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

#Declaration

public class PasteSelectionCommand :
    TransactedInsertObjectCommand

#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.

#Inheritance

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