다음을 통해 공유


DragEventArgs 생성자

정의

오버로드

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

DragEventArgs 클래스의 새 인스턴스를 초기화합니다.

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

DragEventArgs 클래스의 새 인스턴스를 초기화합니다.

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

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

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)

매개 변수

data
IDataObject

이 이벤트와 관련된 데이터입니다.

keyState
Int32

Shift, Ctrl 및 Alt 키의 현재 상태입니다.

x
Int32

픽셀 단위로 나타낸 마우스 포인터의 x좌표입니다.

y
Int32

픽셀 단위로 나타낸 마우스 포인터의 y좌표입니다.

allowedEffect
DragDropEffects

DragDropEffects 값 중 하나입니다.

effect
DragDropEffects

DragDropEffects 값 중 하나입니다.

추가 정보

적용 대상

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

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

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)

매개 변수

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

적용 대상