Version

DragStart Event

Occurs when UIElement marked as draggable initiate drag operation. This event is cancelable.
Syntax
'Declaration
 
Public Event DragStart As EventHandler(Of DragDropStartEventArgs)
public event EventHandler<DragDropStartEventArgs> DragStart
Event Data

The event handler receives an argument of type DragDropStartEventArgs containing data related to this event. The following DragDropStartEventArgs properties provide information specific to this event.

PropertyDescription
Cancel (Inherited from Infragistics.DragDrop.DragDropCancelEventArgs)Gets or sets a value indicating whether drag-and-drop operation should be canceled.
CopyCursorTemplate (Inherited from Infragistics.DragDrop.DragDropEventArgs)Gets or sets the data template that will be used as cursor when coping operation is performed during dragging.
CustomMouseHolder (Inherited from Infragistics.DragDrop.DragDropEventArgs)Gets or sets the System.Windows.UIElement suggested by consumer of the event as the element which has to capture the mouse during the drag-drop.
Data (Inherited from Infragistics.DragDrop.DragDropEventArgs)Gets or sets the instance of the object that represents the dragged data.
DragSnapshotElement Gets or sets the UI element that will be dragged.
DragSource (Inherited from Infragistics.DragDrop.DragDropEventArgs)Gets the UIElement that initiates drag operation.
DragTemplate (Inherited from Infragistics.DragDrop.DragDropEventArgs)Gets or sets the data template that will be applied to dragged element representation.
DropNotAllowedCursorTemplate (Inherited from Infragistics.DragDrop.DragDropEventArgs)Gets or sets the data template that will be used as cursor when drag operation is performed but drop dragged item is not over appropriate target.
DropTarget (Inherited from Infragistics.DragDrop.DragDropEventArgs)Gets the instance of the object marked as drop target.
MoveCursorTemplate (Inherited from Infragistics.DragDrop.DragDropEventArgs)Gets or sets the data template that will be used as cursor when item is draged over appropriate drop target.
OperationType (Inherited from Infragistics.DragDrop.DragDropEventArgs)Gets or sets the type of intended action during drag-and-drop operation. Setting this property will enforce the applying of related cursor.
OriginalDragSource (Inherited from Infragistics.DragDrop.DragDropEventArgs)Gets the original reporting source as determined by pure hit testing.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also