| C# | Visual Basic | Visual C++ |
public class DragSource
Public Class DragSource
public ref class DragSource
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| DragSource()()()() | Initializes a new instance of the DragSource class | |
| DragSource(Object, String) | Initializes a new instance of the DragSource class | |
| AddData(Object, String) |
Adds data and a corresponding format String to the drag source
| |
| AddHandler(DragSource..::..DataLookupHandler, String) |
Adds a handler that is called when data for the specified format is requested
| |
| DataForFormat(String) |
Retrieves the data for the specified format
| |
| Equals(Object) | (Inherited from 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.) | |
| Formats | ||
| GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType()()()() | Gets the type of the current instance. (Inherited from Object.) | |
| HasFormat(String) |
Returns true if the data source contains the requested format; otherwise, it returns false
| |
| MemberwiseClone()()()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) |
| Object | |
| DragSource | |