Initializes a new instance of the DragContentEventArgs class.

Namespace: Dapfor.Net.Ui
Assembly: Dapfor.Net (in Dapfor.Net.dll) Version: 2.10.3.24917 (2.10.3.24917)

Syntax

C#
public DragContentEventArgs(
	Grid targetGrid,
	Control source,
	IEnumerable content,
	DragDropEffects allowedEffects,
	DragDropEffects effect,
	IDataObject data,
	Row targetRow,
	DropRowPosition targetPosition,
	int x,
	int y,
	int keyState
)
Visual Basic
Public Sub New ( 
	targetGrid As Grid,
	source As Control,
	content As IEnumerable,
	allowedEffects As DragDropEffects,
	effect As DragDropEffects,
	data As IDataObject,
	targetRow As Row,
	targetPosition As DropRowPosition,
	x As Integer,
	y As Integer,
	keyState As Integer
)
Visual C++
public:
DragContentEventArgs(
	Grid^ targetGrid, 
	Control^ source, 
	IEnumerable^ content, 
	DragDropEffects allowedEffects, 
	DragDropEffects effect, 
	IDataObject^ data, 
	Row^ targetRow, 
	DropRowPosition targetPosition, 
	int x, 
	int y, 
	int keyState
)
F#
new : 
        targetGrid : Grid * 
        source : Control * 
        content : IEnumerable * 
        allowedEffects : DragDropEffects * 
        effect : DragDropEffects * 
        data : IDataObject * 
        targetRow : Row * 
        targetPosition : DropRowPosition * 
        x : int * 
        y : int * 
        keyState : int -> DragContentEventArgs

Parameters

targetGrid
Type: Dapfor.Net.Ui..::..Grid
The target grid.
source
Type: System.Windows.Forms..::..Control
The source.
content
Type: System.Collections..::..IEnumerable
The content.
allowedEffects
Type: System.Windows.Forms..::..DragDropEffects
The allowed effects.
effect
Type: System.Windows.Forms..::..DragDropEffects
The effect.
data
Type: System.Windows.Forms..::..IDataObject
The data.
targetRow
Type: Dapfor.Net.Ui..::..Row
The target row.
targetPosition
Type: Dapfor.Net.Ui..::..DropRowPosition
The target position.
x
Type: System..::..Int32
The x-coordinate of the mouse pointer in pixels.
y
Type: System..::..Int32
The y-coordinate of the mouse pointer in pixels.
keyState
Type: System..::..Int32
The current state of the SHIFT, CTRL, and ALT keys, as well as the state of the mouse buttons.

See Also