DragEventArgs Constructor |
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
)
Public Sub New (
source As Control,
data As DataObject,
allowedEffects As DragEffects,
location As PointF,
modifiers As Keys,
buttons As MouseButtons,
Optional controlObject As Object = Nothing
)
new :
source : Control *
data : DataObject *
allowedEffects : DragEffects *
location : PointF *
modifiers : Keys *
buttons : MouseButtons *
?controlObject : Object
(* Defaults:
let _controlObject = defaultArg controlObject null
*)
-> DragEventArgs
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