DragEventArgs Constructores

Definición

Sobrecargas

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

Source:
DragEventArgs.cs
Source:
DragEventArgs.cs
Source:
DragEventArgs.cs
Source:
DragEventArgs.cs
Source:
DragEventArgs.cs

Inicializa una nueva instancia de la clase DragEventArgs.

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);
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)

Parámetros

data
IDataObject

Los datos asociados a este evento.

keyState
Int32

Estado actual de las teclas MAYÚS, CTRL y ALT.

x
Int32

Coordenada x del cursor del mouse en píxeles.

y
Int32

Coordenada y del cursor del mouse en píxeles.

allowedEffect
DragDropEffects

Uno de los DragDropEffects valores.

effect
DragDropEffects

Uno de los DragDropEffects valores.

Consulte también

Se aplica a

DragEventArgs(IDataObject, Int32, Int32, Int32, DragDropEffects, DragDropEffects, DropImageType, String, String)

Source:
DragEventArgs.cs
Source:
DragEventArgs.cs
Source:
DragEventArgs.cs
Source:
DragEventArgs.cs
Source:
DragEventArgs.cs

Inicializa una nueva instancia de la clase DragEventArgs.

public:
 DragEventArgs(System::Windows::Forms::IDataObject ^ data, int keyState, int x, int y, System::Windows::Forms::DragDropEffects allowedEffect, System::Windows::Forms::DragDropEffects effect, System::Windows::Forms::DropImageType dropImageType, System::String ^ message, System::String ^ messageReplacementToken);
public DragEventArgs(System.Windows.Forms.IDataObject? data, int keyState, int x, int y, System.Windows.Forms.DragDropEffects allowedEffect, System.Windows.Forms.DragDropEffects effect, System.Windows.Forms.DropImageType dropImageType, string? message, string? messageReplacementToken);
public DragEventArgs(System.Windows.Forms.IDataObject? data, int keyState, int x, int y, System.Windows.Forms.DragDropEffects allowedEffect, System.Windows.Forms.DragDropEffects effect, System.Windows.Forms.DropImageType dropImageType, string message, string messageReplacementToken);
new System.Windows.Forms.DragEventArgs : System.Windows.Forms.IDataObject * int * int * int * System.Windows.Forms.DragDropEffects * System.Windows.Forms.DragDropEffects * System.Windows.Forms.DropImageType * string * string -> 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, dropImageType As DropImageType, message As String, messageReplacementToken As String)

Parámetros

keyState
Int32
x
Int32
y
Int32
allowedEffect
DragDropEffects
dropImageType
DropImageType
message
String
messageReplacementToken
String

Se aplica a