Compartir a través de


DragDropInfo Class

Definition

Provides information about an ongoing drag and drop operation. It is passed to IDropHandler objects when the state of the drag and drop operation changes.

public ref class DragDropInfo
[Windows::Foundation::Metadata::WebHostHidden]
class DragDropInfo
public class DragDropInfo
type DragDropInfo = class
Public Class DragDropInfo
Inheritance
DragDropInfo

Remarks

A DragDropInfo object is passed to IDropHandler objects when the state of the drag and drop operation changes.

Constructors

DragDropInfo(Point, DragDropKeyStates, IDataObject, Boolean, Object, DragDropEffects, VirtualSnapshotPoint)

Initializes a new instance of DragDropInfo with the specified settings.

Properties

AllowedEffects

Gets the drag and drop effects allowed by the source.

Data

Represents the IDataObject of the drag and drop operation.

IsInternal

Determines whether the drag and drop operation has been initiated from within the editor.

KeyStates

Gets the state of the keyboard during the operation. This field can be queried to check whether certain keys have been pressed.

Location

Gets the location of the cursor relative to the left top corner of the text view.

Source

Gets the object that initiated the drag and drop operation.

VirtualBufferPosition

Gets the buffer position of the cursor during the drag and drop operation.

Methods

Equals(Object)

Determines whether two DragDropInfo objects have the same settings.

GetHashCode()

Gets the hash code for this DragDropInfo object.

Operators

Equality(DragDropInfo, DragDropInfo)

Determines whether two DragDropInfo objects have the same settings.

Inequality(DragDropInfo, DragDropInfo)

Determines whether two DragDropInfo objects have different settings.

Applies to