Condividi tramite


DragDropInfo.AllowedEffects Property

Definition

Gets the drag and drop effects allowed by the source.

public:
 property System::Windows::DragDropEffects AllowedEffects { System::Windows::DragDropEffects get(); };
public System.Windows.DragDropEffects AllowedEffects { get; }
member this.AllowedEffects : System.Windows.DragDropEffects
Public ReadOnly Property AllowedEffects As DragDropEffects

Property Value

The DragDropEffects allowed by the source.

Remarks

As part of the contract between the source and the target, the target must honor the effects allowed by the source. For example, if the source does not permit a DragDropEffects.Move, then the target should not execute a move.

Applies to