This topic has not yet been rated - Rate this topic

DragDropHelper Class

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

System.Object
  System.Activities.Presentation.DragDropHelper

Namespace:  System.Activities.Presentation
Assembly:  System.Activities.Presentation (in System.Activities.Presentation.dll)
public static class DragDropHelper

The DragDropHelper type exposes the following members.

  NameDescription
Public methodStatic memberAllowDropIndicates whether the designer can accept data that the user drags onto it.
Public methodStatic memberDoDragMove 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.
Public methodStatic memberGetCompositeView(DragEventArgs) Obsolete. Retrieves the composite view information from the specified drag event arguments.
Public methodStatic memberGetCompositeView(WorkflowViewElement)Retrieves the composite view information from the specified workflow view element.
Public methodStatic memberGetDragDropAnchorPointRetrieves the anchor point for a drag-and-drop operation.
Public methodStatic memberGetDragDropCompletedEffects Obsolete. Returns the outcome of the drag-and-drop operation whose behavior is determined by the specified DataObject.
Public methodStatic memberGetDraggedModelItem Obsolete. Retrieves the object that is being dragged in a drag-and-drop operation.
Public methodStatic memberGetDraggedModelItemsRetrieves the model items that are being dragged in a drag-and-drop operation.
Public methodStatic memberGetDroppedObject Obsolete. Retrieves the object that is being dropped in a drag-and-drop operation.
Public methodStatic memberGetDroppedObjectsRetrieves the objects that are being dropped in a drag-and-drop operation.
Public methodStatic memberSetCompositeViewSets the composite view from the specified workflow view element and drag source.
Public methodStatic memberSetDragDropCompletedEffects Obsolete. Sets the final effect that is to be performed during the drag-and-drop operation.
Top
  NameDescription
Public fieldStatic memberCompletedEffectsFormatSpecifies the desired effects of the completion of a drag-and-drop operation.
Public fieldStatic memberCompositeViewFormatContains a unique data format name for a composite view.
Public fieldStatic memberDragAnchorPointFormatSpecifies the format for a drag operation anchor point.
Public fieldStatic memberDragSourcePropertySpecifies the drag source.
Public fieldStatic memberModelItemDataFormatSpecifies the format for model item data.
Public fieldStatic memberWorkflowItemTypeNameFormatSpecifies the format for the type name of a workflow item.
Top

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

.NET Framework

Supported in: 4.5.1, 4.5, 4

.NET Framework Client Profile

Supported in: 4

Windows Phone 8.1, Windows Phone 8, Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.