Click or drag to resize

DragDropTargetEventArgs Class

Provides data for Drag and Drop events.
Inheritance Hierarchy
SystemObject
  SystemEventArgs
    ShellBoost.CoreDragDropTargetEventArgs

Namespace:  ShellBoost.Core
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public sealed class DragDropTargetEventArgs : EventArgs, 
	IDataObjectFormats

The DragDropTargetEventArgs type exposes the following members.

Properties
  NameDescription
Public propertyAllowedEffect
Gets which drag-and-drop operations are allowed by the originator (or source) of the drag event.
Public propertyBufferSize
Gets the size of the buffer.
Public propertyDataObject
Gets the Data Object that contains the data associated with this event.
Public propertyEffect
Gets or sets the target drop effect in a drag-and-drop operation.
Public propertyHResult
Gets or sets the Windows HRESULT for the operation.
Public propertyHwnd
Gets the HWND that hosts the event. May be zero.
Public propertyItem
Gets the context Shell Item.
Public propertyKeyState
Gets the current state of the SHIFT, CTRL, and ALT keys, as well as the state of the mouse buttons.
Public propertyOnDemandDataObject
Gets the related on OnDemandDataObject instance. Only valid (not null) if a custom OnDemandDataObject instance was provided on OnGetOnDemandDataObjectEvent.
Public propertyStreamsAreRealized
Gets a value indicating whether streams are realized.
Public propertyType
Gets the type of drag and drop event.
Public propertyX
Gets the x-coordinate of the mouse pointer, in screen coordinates.
Public propertyY
Gets the y-coordinate of the mouse pointer, in screen coordinates.
Top
Extension Methods
  NameDescription
Public Extension MethodAddCF_HDROP
Adds a CF_HDROP format to the data object.
(Defined by Extensions.)
Public Extension MethodAddCFSTR_SHELLIDLIST
Adds a CFSTR_SHELLIDLIST format to the data object.
(Defined by Extensions.)
Public Extension MethodAddFormat(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.)
Public Extension MethodAddFormat(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.)
Public Extension MethodAddFormat(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.)
Public Extension MethodAddFormat(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.)
Top
See Also