MoveSelectionCommand
Class
Moves or copies the current selection to a document position; a raw drop position uses Ctrl to choose between the two.
Definition
Namespace:Telerik.WinForms.Documents.RichTextBoxCommands
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
C#
public class MoveSelectionCommand : RichTextBoxCommandBase, ICommand
Inheritance: objectRichTextBoxCommandBaseMoveSelectionCommand
Implements:
Inherited Members
Constructors
Creates a command that moves or copies selections in the specified editor.
C#
public MoveSelectionCommand(RadRichTextBox editor)
The editor whose selection is moved or copied.
Methods
Moves or copies the selection to the specified drop position.
C#
protected override void ExecuteOverride(object parameter)
A MoveSelectionCommandParameter or a DocumentPosition. With a raw position, holding Ctrl copies the selection; otherwise, the command moves it. A missing drop position has no effect.
Overrides: