Provides the source position and cancellation flag for a selection drag that is about to start.
Definition
Namespace:Telerik.WinForms.Controls.SyntaxEditor.UI
Assembly:Telerik.WinControls.SyntaxEditor.dll
Syntax:
C#
public class PreviewDragStartEventArgs : EventArgs
Inheritance: objectEventArgsPreviewDragStartEventArgs
Inherited Members
Constructors
Creates preview data for a drag beginning at the specified caret position. CanStart is initialized to true.
C#
public PreviewDragStartEventArgs(CaretPosition startPosition, bool canStart = true)
The caret position treated as the start of the drag.
canStartboolCurrently ignored; set CanStart in the preview event handler to cancel the drag.
Properties
The start caret position from which the drag operation will start. The start position is always within the current selection.
C#
public CaretPosition StartPostion { get; }