Uređivanje

Dijeli putem


ActivityDragEventArgs Class

Definition

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
ActivityDragEventArgs
Attributes

Remarks

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.

Properties

Activities

Gets a collection of activities upon which a drag-and-drop operation is performed.

AllowedEffect

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)
DragImageSnapPoint

Gets or sets the location where the activities are to be dropped on the workflow design surface.

DragInitiationPoint

Gets the Point on the workflow design surface where a drag operation began.

DropImageType

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)
KeyState

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)
MessageReplacementToken

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)

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
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)

Applies to