Provides the source and target caret positions before the editor moves a dragged selection.
Definition
Namespace:Telerik.WinForms.Controls.SyntaxEditor.UI
Assembly:Telerik.WinControls.SyntaxEditor.dll
Syntax:
public class PreviewDragDropEventArgs : EventArgs
Inheritance: objectEventArgsPreviewDragDropEventArgs
Inherited Members
Constructors
Creates event data for a selection drag from its source position to the drop position.
public PreviewDragDropEventArgs(CaretPosition startPosition, CaretPosition dropPosition)
The caret position from which the selection drag began.
dropPositionCaretPositionThe caret position where the selection is being dropped.
Properties
The caret position at which the selection will be dropped.
public CaretPosition DropPosition { get; }
Determines whether the event is handled. If the property is set to true, the selection will not be moved to the dragged position.
public bool Handled { get; set; }
The caret position at which the drag operation has been started. The start position is always within the current selection.
public CaretPosition StartPostion { get; }