Click or drag to resize

DragEventArgs Constructor

Initializes a new instance of the DragEventArgs class.

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public DragEventArgs(
	Control source,
	DataObject data,
	DragEffects allowedEffects,
	PointF location,
	Keys modifiers,
	MouseButtons buttons,
	Object controlObject = null
)

Parameters

source
Type: Eto.FormsControl
Drag operation source control.
data
Type: Eto.FormsDataObject
Drag data.
allowedEffects
Type: Eto.FormsDragEffects
Allowed operation.
location
Type: Eto.DrawingPointF
Location of the mouse cursor for this event
modifiers
Type: Eto.FormsKeys
Modifier buttons pressed for this event
buttons
Type: Eto.FormsMouseButtons
Mouse buttons pressed for this event
controlObject (Optional)
Type: SystemObject
Platform-specific object to store additional arguments/info
See Also