'宣言
Public Event DragEnter As DragEventHandler
public event DragEventHandler DragEnter
イベント データ
イベント ハンドラが、このイベントに関連するデータを含む、DragEventArgs 型の引数を受け取りました。次の DragEventArgs プロパティには、このイベントの固有の情報が記載されます。
プロパティ | 解説 |
---|---|
AllowedEffect | Gets which drag-and-drop operations are allowed by the originator (or source) of the drag event. |
Data | Gets the System.Windows.Forms.IDataObject that contains the data associated with this event. |
Effect | Gets or sets the target drop effect in a drag-and-drop operation. |
KeyState | Gets the current state of the SHIFT, CTRL, and ALT keys, as well as the state of the mouse buttons. |
X | Gets the x-coordinate of the mouse pointer, in screen coordinates. |
Y | Gets the y-coordinate of the mouse pointer, in screen coordinates. |
参照