DragDropInfo Class

 

Provides information about an ongoing drag and drop operation.

Namespace:   Microsoft.VisualStudio.Text.Editor.DragDrop
Assembly:  Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)

System.Object
  Microsoft.VisualStudio.Text.Editor.DragDrop.DragDropInfo

public class DragDropInfo

NameDescription
System_CAPS_pubmethodDragDropInfo(Point, DragDropKeyStates, IDataObject, Boolean, Object, DragDropEffects, VirtualSnapshotPoint)

Initializes a new instance of DragDropInfo with the specified settings.

NameDescription
System_CAPS_pubpropertyAllowedEffects

Gets the drag and drop effects allowed by the source.

System_CAPS_pubpropertyData

Gets the IDataObject of the drag and drop operation.

System_CAPS_pubpropertyIsInternal

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

System_CAPS_pubpropertyKeyStates

Gets the state of the keyboard during the operation.

System_CAPS_pubpropertyLocation

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

System_CAPS_pubpropertySource

Gets the object that initiated the drag and drop operation.

System_CAPS_pubpropertyVirtualBufferPosition

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

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether two DragDropInfo objects have the same settings.(Overrides Object.Equals(Object).)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Gets the hash code for this DragDropInfo object.(Overrides Object.GetHashCode().)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_puboperatorSystem_CAPS_staticEquality(DragDropInfo, DragDropInfo)

Determines whether two DragDropInfo objects have the same settings.

System_CAPS_puboperatorSystem_CAPS_staticInequality(DragDropInfo, DragDropInfo)

Determines whether two DragDropInfo objects have different settings.

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

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: