Rediger

Del via


DragDropHelper Class

Definition

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

public ref class DragDropHelper abstract sealed
public static class DragDropHelper
type DragDropHelper = class
Public Class DragDropHelper
Inheritance
DragDropHelper

Remarks

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

Fields

CompletedEffectsFormat

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

CompositeViewFormat

Contains a unique data format name for a composite view.

DragAnchorPointFormat

Specifies the format for a drag operation anchor point.

DragSourceProperty

Specifies the drag source.

ModelItemDataFormat

Specifies the format for model item data.

WorkflowItemTypeNameFormat

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

Methods

AllowDrop(IDataObject, EditingContext, Type[])

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

DoDragMove(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.

GetCompositeView(DragEventArgs)
Obsolete.

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

GetCompositeView(WorkflowViewElement)

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

GetDragDropAnchorPoint(DragEventArgs)

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

GetDragDropCompletedEffects(DataObject)
Obsolete.

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

GetDraggedModelItem(DragEventArgs)
Obsolete.

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

GetDraggedModelItems(DragEventArgs)

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

GetDroppedObject(DependencyObject, DragEventArgs, EditingContext)
Obsolete.

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

GetDroppedObjects(DependencyObject, DragEventArgs, EditingContext)

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

SetCompositeView(WorkflowViewElement, UIElement)

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

SetDragDropCompletedEffects(DragEventArgs, DragDropEffects)
Obsolete.

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

Applies to