DiagramDragEventArgs.ComputeEffect(DragDropEffects) Method
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.
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.