DragEventArgs(IDataObject, Int32, Int32, Int32, DragDropEffects, DragDropEffects) Konstruktor

Definition

Initialisiert eine neue Instanz der DragEventArgs-Klasse.Initializes a new instance of the DragEventArgs class.

public:
 DragEventArgs(System::Windows::Forms::IDataObject ^ data, int keyState, int x, int y, System::Windows::Forms::DragDropEffects allowedEffect, System::Windows::Forms::DragDropEffects effect);
public DragEventArgs (System.Windows.Forms.IDataObject data, int keyState, int x, int y, System.Windows.Forms.DragDropEffects allowedEffect, System.Windows.Forms.DragDropEffects effect);
new System.Windows.Forms.DragEventArgs : System.Windows.Forms.IDataObject * int * int * int * System.Windows.Forms.DragDropEffects * System.Windows.Forms.DragDropEffects -> System.Windows.Forms.DragEventArgs
Public Sub New (data As IDataObject, keyState As Integer, x As Integer, y As Integer, allowedEffect As DragDropEffects, effect As DragDropEffects)

Parameter

data
IDataObject

Die diesem Ereignis zugeordneten Daten.The data associated with this event.

keyState
Int32

Der aktuelle Zustand von UMSCHALTTASTE, STRG und ALT.The current state of the SHIFT, CTRL, and ALT keys.

x
Int32

Die x-Koordinate des Mauszeigers in Pixel.The x-coordinate of the mouse cursor in pixels.

y
Int32

Die y-Koordinate des Mauszeigers in Pixel.The y-coordinate of the mouse cursor in pixels.

allowedEffect
DragDropEffects

Einer der DragDropEffects-Werte.One of the DragDropEffects values.

effect
DragDropEffects

Einer der DragDropEffects-Werte.One of the DragDropEffects values.

Gilt für:

Siehe auch