Compartilhar via


DiagramDragEventArgs.ComputeEffect(DragDropEffects) Method

Definition

This method returns the single resultant drop effect given the possible effects that the drag/drop target can support. The drag source's allowed effects combined with the key states will be used to determine the resultant effect.

public:
 System::Windows::Forms::DragDropEffects ComputeEffect(System::Windows::Forms::DragDropEffects possibleTargetEffects);
public System.Windows.Forms.DragDropEffects ComputeEffect (System.Windows.Forms.DragDropEffects possibleTargetEffects);
member this.ComputeEffect : System.Windows.Forms.DragDropEffects -> System.Windows.Forms.DragDropEffects
Public Function ComputeEffect (possibleTargetEffects As DragDropEffects) As DragDropEffects

Parameters

possibleTargetEffects
DragDropEffects

All possible effects that the drag/drop target can support.

Returns

The single resultant effect.

Applies to