DragDropHelper Class
Definition
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.
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
Athugasemdir
https://aka.ms/ContentUserFeedback.
Væntanlegt: Á árinu 2024 munum við hætta með GitHub-mál sem ábendingaleið fyrir efni og skipta því út fyrir nýtt ábendingakerfi. Frekari upplýsingar er að finna hér:Senda inn og skoða endurgjöf fyrir