DragEventArgs Costruttori
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
DragEventArgs(IDataObject, Int32, Int32, Int32, DragDropEffects, DragDropEffects) |
Inizializza una nuova istanza della classe DragEventArgs. |
DragEventArgs(IDataObject, Int32, Int32, Int32, DragDropEffects, DragDropEffects, DropImageType, String, String) |
Inizializza una nuova istanza della classe DragEventArgs. |
DragEventArgs(IDataObject, Int32, Int32, Int32, DragDropEffects, DragDropEffects)
Inizializza una nuova istanza della classe 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)
Parametri
- data
- IDataObject
Dati associati a questo evento.
- keyState
- Int32
Stato corrente dei tasti MAIUSC, CTRL e ALT.
- x
- Int32
Coordinata x del cursore del mouse espressa in pixel.
- y
- Int32
Coordinata y del cursore del mouse espressa in pixel.
- allowedEffect
- DragDropEffects
Uno dei valori di DragDropEffects.
- effect
- DragDropEffects
Uno dei valori di DragDropEffects.
Vedi anche
Si applica a
DragEventArgs(IDataObject, Int32, Int32, Int32, DragDropEffects, DragDropEffects, DropImageType, String, String)
Inizializza una nuova istanza della classe 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)
Parametri
- data
- IDataObject
- keyState
- Int32
- x
- Int32
- y
- Int32
- allowedEffect
- DragDropEffects
- effect
- DragDropEffects
- dropImageType
- DropImageType
- message
- String
- messageReplacementToken
- String