New to Telerik UI for WinFormsStart a free 30-day trial

Definition

Namespace:Telerik.WinForms.Controls.SyntaxEditor.UI

Assembly:Telerik.WinControls.SyntaxEditor.dll

Syntax:

C#
public class PreviewDragOverEventArgs : EventArgs

Inheritance: objectEventArgsPreviewDragOverEventArgs

Inherited Members EventArgs.Empty

Constructors

C#
public PreviewDragOverEventArgs(CaretPosition startPosition, CaretPosition dropPosition, bool canDrop = true)
Parameters:startPositionCaretPositiondropPositionCaretPositioncanDropbool

Properties

Determines whether whether the selection can be dropped. This property taken into consideration when changing the mouse cursor.

C#
public bool CanDrop { get; set; }

The caret position at which the selection is being dragged over.

C#
public CaretPosition DropPosition { get; }

The start caret position at which the drag operation has been start. The start position is always within the current selection.

C#
public CaretPosition StartPostion { get; }