DragDropHelper Class

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Represents a helper class to assist dragging and dropping inside the Windows Workflow Designer.

Namespace:   System.Activities.Presentation
Assembly:  System.Activities.Presentation (in System.Activities.Presentation.dll)

System.Object
  System.Activities.Presentation.DragDropHelper

public static class DragDropHelper

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticAllowDrop(IDataObject, EditingContext, Type[])

Indicates whether the designer can accept data that the user drags onto it.

System_CAPS_pubmethodSystem_CAPS_staticDoDragMove(WorkflowViewElement, Point)

Obsolete. Allows a UI element to be dragged by a mouse with its left button down over an exposed area of the UI element’s client area.

System_CAPS_pubmethodSystem_CAPS_staticGetCompositeView(DragEventArgs)

Obsolete. Retrieves the composite view information from the specified drag event arguments.

System_CAPS_pubmethodSystem_CAPS_staticGetCompositeView(WorkflowViewElement)

Retrieves the composite view information from the specified workflow view element.

System_CAPS_pubmethodSystem_CAPS_staticGetDragDropAnchorPoint(DragEventArgs)

Retrieves the anchor point for a drag-and-drop operation.

System_CAPS_pubmethodSystem_CAPS_staticGetDragDropCompletedEffects(DataObject)

Obsolete. Returns the outcome of the drag-and-drop operation whose behavior is determined by the specified DataObject.

System_CAPS_pubmethodSystem_CAPS_staticGetDraggedModelItem(DragEventArgs)

Obsolete. Retrieves the object that is being dragged in a drag-and-drop operation.

System_CAPS_pubmethodSystem_CAPS_staticGetDraggedModelItems(DragEventArgs)

Retrieves the model items that are being dragged in a drag-and-drop operation.

System_CAPS_pubmethodSystem_CAPS_staticGetDroppedObject(DependencyObject, DragEventArgs, EditingContext)

Obsolete. Retrieves the object that is being dropped in a drag-and-drop operation.

System_CAPS_pubmethodSystem_CAPS_staticGetDroppedObjects(DependencyObject, DragEventArgs, EditingContext)

Retrieves the objects that are being dropped in a drag-and-drop operation.

System_CAPS_pubmethodSystem_CAPS_staticSetCompositeView(WorkflowViewElement, UIElement)

Sets the composite view from the specified workflow view element and drag source.

System_CAPS_pubmethodSystem_CAPS_staticSetDragDropCompletedEffects(DragEventArgs, DragDropEffects)

Obsolete. Sets the final effect that is to be performed during the drag-and-drop operation.

NameDescription
System_CAPS_pubfieldSystem_CAPS_staticCompletedEffectsFormat

Specifies the desired effects of the completion of a drag-and-drop operation.

System_CAPS_pubfieldSystem_CAPS_staticCompositeViewFormat

Contains a unique data format name for a composite view.

System_CAPS_pubfieldSystem_CAPS_staticDragAnchorPointFormat

Specifies the format for a drag operation anchor point.

System_CAPS_pubfieldSystem_CAPS_staticDragSourceProperty

Specifies the drag source.

System_CAPS_pubfieldSystem_CAPS_staticModelItemDataFormat

Specifies the format for model item data.

System_CAPS_pubfieldSystem_CAPS_staticWorkflowItemTypeNameFormat

Specifies the format for the type name of a workflow item.

This class abstracts the encoding formats used in the DataObject that is passed from the drag source to the target.

.NET Framework
Available since 4.0

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: