DragEventArgs
Wisej.Web.DragEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.2.0.0)
Provides data for the DragDrop, DragEnter, or DragOver event.
public class DragEventArgs : EventArgs
Constructors
DragEventArgs(allowedEffect, effect, data, location)

Initializes a new instance of the DragEventArgs class.
Properties
AllowedEffect

DragDropEffects: Returns which drag-and-drop operations are allowed by the originator (or source) of the drag event.
AllowedFileTypes

String: Specify the types of files that the server accepts (that can be submitted through a file upload).
The allowed files string follows the HTML 4.01 and HTML5 specifications. You can configure only one entry in the browser's file dialog. The syntax is "file_extension|audio/|video/|image/*|media_type". Look at IANA Media Types for a complete list of standard media types.
Data

IDataObject: Returns the IDataObject that contains the data associated with this event.
DropTarget

Object: Returns the original target of the drag operation.
Effect

DragDropEffects: Returns or sets the target drop effect in a drag-and-drop operation.
Image

Image: Returns or sets the custom image displayed on the client to represent the drag action.
ImageSize

Size: Returns or sets the size in pixels of the custom image displayed on the client to represent the drag action.
ImageSource

String: Returns or sets the custom image source displayed on the client to represent the drag action.
KeyState

Int32: Returns the current state of the SHIFT, CTRL, and ALT keys, as well as the state of the mouse buttons.
Location

Point: Returns the location of the mouse or pointer event, in screen coordinates.
X

Int32: Returns the x-coordinate of the mouse or pointer, in screen coordinates.
Y

Int32: Returns the y-coordinate of the mouse or pointer, in screen coordinates.
Used By
Last updated
Was this helpful?