ActivityDragEventArgs Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*
Represents a class that provides data for the OnDragDrop(ActivityDragEventArgs), OnDragEnter(ActivityDragEventArgs), and OnDragOver(ActivityDragEventArgs) events in the workflow designer.
public ref class ActivityDragEventArgs : System::Windows::Forms::DragEventArgs
public class ActivityDragEventArgs : System.Windows.Forms.DragEventArgs
[System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")]
public class ActivityDragEventArgs : System.Windows.Forms.DragEventArgs
type ActivityDragEventArgs = class
inherit DragEventArgs
[<System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")>]
type ActivityDragEventArgs = class
inherit DragEventArgs
Public Class ActivityDragEventArgs
Inherits DragEventArgs
- Inheritance
- Attributes
Note
This material discusses types and namespaces that are obsolete. For more information, see Deprecated Types in Windows Workflow Foundation 4.5.
These event arguments are passed to ActivityDesigner classes when a drag-and-drop operation is in progress on the workflow design surface. ActivityDesigner classes can access the information contained in the ActivityDragEventArgs class to influence the behavior of the operation.
Activities |
Gets a collection of activities upon which a drag-and-drop operation is performed. |
Allowed |
Gets which drag-and-drop operations are allowed by the originator (or source) of the drag event. (Inherited from DragEventArgs) |
Data |
Gets the IDataObject that contains the data associated with this event. (Inherited from DragEventArgs) |
Drag |
Gets or sets the location where the activities are to be dropped on the workflow design surface. |
Drag |
Gets the Point on the workflow design surface where a drag operation began. |
Drop |
Gets or sets the drop description image type. (Inherited from DragEventArgs) |
Effect |
Gets or sets the target drop effect in a drag-and-drop operation. (Inherited from DragEventArgs) |
Key |
Gets the current state of the SHIFT, CTRL, and ALT keys, as well as the state of the mouse buttons. (Inherited from DragEventArgs) |
Message |
Gets or sets the drop description text, such as "Move to %1". (Inherited from DragEventArgs) |
Message |
Gets or sets the drop description text, such as "Documents", when %1 is specified in Message. (Inherited from DragEventArgs) |
X |
Gets the x-coordinate of the mouse pointer, in screen coordinates. (Inherited from DragEventArgs) |
Y |
Gets the y-coordinate of the mouse pointer, in screen coordinates. (Inherited from DragEventArgs) |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
Get |
Serves as the default hash function. (Inherited from Object) |
Get |
Gets the Type of the current instance. (Inherited from Object) |
Memberwise |
Creates a shallow copy of the current Object. (Inherited from Object) |
To |
Returns a string that represents the current object. (Inherited from Object) |
Product | Versions (Obsolete) |
---|---|
.NET Framework | 3.0, 3.5, 4.0 (4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1) |
.NET feedback
.NET is an open source project. Select a link to provide feedback: