DragDropInfo Class
Provides information about an ongoing drag and drop operation.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Text.Editor.DragDrop.DragDropInfo
Namespace: Microsoft.VisualStudio.Text.Editor.DragDrop
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
Syntax
‘선언
Public Class DragDropInfo
public class DragDropInfo
public ref class DragDropInfo
type DragDropInfo = class end
public class DragDropInfo
The DragDropInfo type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DragDropInfo | Initializes a new instance of DragDropInfo with the specified settings. |
Top
Properties
Name | Description | |
---|---|---|
AllowedEffects | Gets the drag and drop effects allowed by the source. | |
Data | Gets 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. | |
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. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether two DragDropInfo objects have the same settings. (Overrides Object.Equals(Object).) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Gets the hash code for this DragDropInfo object. (Overrides Object.GetHashCode().) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Operators
Name | Description | |
---|---|---|
Equality | Determines whether two DragDropInfo objects have the same settings. | |
Inequality | Determines whether two DragDropInfo objects have different settings. |
Top
Remarks
A DragDropInfo object is passed to IDropHandler objects when the state of the drag and drop operation changes.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.