DragDropTargetEventArgs Class |
Namespace: ShellBoost.Core
public sealed class DragDropTargetEventArgs : EventArgs, IDataObjectFormats
The DragDropTargetEventArgs type exposes the following members.
Name | Description | |
---|---|---|
AllowedEffect |
Gets which drag-and-drop operations are allowed by the originator (or source) of the drag event.
| |
BufferSize |
Gets the size of the buffer.
| |
DataObject |
Gets the Data Object that contains the data associated with this event.
| |
Effect |
Gets or sets the target drop effect in a drag-and-drop operation.
| |
HResult |
Gets or sets the Windows HRESULT for the operation.
| |
Hwnd |
Gets the HWND that hosts the event. May be zero.
| |
Item |
Gets the context Shell Item.
| |
KeyState |
Gets the current state of the SHIFT, CTRL, and ALT keys, as well as the state of the mouse buttons.
| |
OnDemandDataObject |
Gets the related on OnDemandDataObject instance.
Only valid (not null) if a custom OnDemandDataObject instance was provided on OnGetOnDemandDataObjectEvent.
| |
StreamsAreRealized |
Gets a value indicating whether streams are realized.
| |
Type |
Gets the type of drag and drop event.
| |
X |
Gets the x-coordinate of the mouse pointer, in screen coordinates.
| |
Y |
Gets the y-coordinate of the mouse pointer, in screen coordinates.
|
Name | Description | |
---|---|---|
AddCF_HDROP |
Adds a CF_HDROP format to the data object.
(Defined by Extensions.) | |
AddCFSTR_SHELLIDLIST |
Adds a CFSTR_SHELLIDLIST format to the data object.
(Defined by Extensions.) | |
AddFormat(Int32, Byte) | Overloaded.
Adds a format to the data object.
This format will be used only if at least one DataObject is added.
(Defined by Extensions.) | |
AddFormat(String, Byte) | Overloaded.
Adds a format to the data object.
This format will be used only if at least one DataObject is added.
(Defined by Extensions.) | |
AddFormat(Int32, String, Encoding) | Overloaded.
Adds a text to the data object.
This format will be used only if at least one DataObject is added.
(Defined by Extensions.) | |
AddFormat(String, String, Encoding) | Overloaded.
Adds a format to the data object.
This format will be used only if at least one DataObject is added.
(Defined by Extensions.) |