Enum DropEffect
Specifies the type of drop effect to be applied during drag-and-drop operations in input components.
Namespace: Syncfusion.Blazor.Inputs
Assembly: Syncfusion.Blazor.dll
Syntax
[JsonConverter(typeof(JsonStringEnumConverter))]
public enum DropEffect
Remarks
The DropEffect enumeration defines the visual feedback and behavior that occurs when an item is dropped during a drag-and-drop operation. This enum is commonly used in file upload components and other input controls that support drag-and-drop functionality. The drop effect determines how the dragged content will be handled when dropped onto the target area.
Examples
Setting a drop effect for a file upload component:
<SfUploader DropEffect="DropEffect.Copy">
<UploaderEvents ValueChange="OnChange"></UploaderEvents>
</SfUploader>
Fields
| Name | Description |
|---|---|
| Copy | Creates a copy of the dragged item at the drop location. |
| Default | Uses the default drop effect behavior as determined by the browser or component. |
| Link | Creates a link or reference to the dragged item at the drop location. |
| Move | Moves the dragged item from its source to the drop location. |
| None | Indicates that no drop effect should be applied, effectively disabling the drop operation. |