You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: blazor/file-upload/drag-and-drop.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,11 +9,11 @@ documentation: ug
9
9
10
10
# Drag and drop in Blazor File Upload Component
11
11
12
-
The uploader component supports drag-and-drop file selection. Users can drag files from the file explorer and drop them into the drop area. By default, the uploader component acts as the drop area. The drop area is highlighted when files are dragged over it to indicate that dropping is supported.
12
+
The File Upload component supports drag-and-drop file selection. Users can drag files from the file explorer and drop them into the drop area. By default, the File Upload component acts as the drop area. The drop area is highlighted when files are dragged over it to indicate that dropping is supported.
13
13
14
14
## Custom DropArea
15
15
16
-
The uploader component allows configuring an external target element as the drop area by using the [DropArea](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Inputs.UploaderModel.html#Syncfusion_Blazor_Inputs_UploaderModel_DropArea) property. The element can be specified as an HTML element reference or by using the element’s ID.
16
+
The File Upload component allows configuring an external target element as the drop area by using the [DropArea](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Inputs.UploaderModel.html#Syncfusion_Blazor_Inputs_UploaderModel_DropArea) property. The element can be specified as an HTML element reference or by using the element’s ID.
17
17
18
18
```cshtml
19
19
@using Syncfusion.Blazor.Inputs
@@ -57,11 +57,11 @@ body .e-upload-drag-hover {
57
57
58
58
## DropEffect
59
59
60
-
The uploader exposes a DropEffect property that controls the cursor feedback and allowed drop operation during drag-and-drop. Set this property to Default, Copy, Move, Link, or None. Default uses the browser’s behavior. Dropped files are added to the selected files list and processed according to component settings (for example, AutoUpload, SaveUrl/RemoveUrl, AllowedExtensions, MinFileSize, and MaxFileSize).
60
+
The File Upload exposes a DropEffect property that controls the cursor feedback and allowed drop operation during drag-and-drop. Set this property to Default, Copy, Move, Link, or None. Default uses the browser’s behavior. Dropped files are added to the selected files list and processed according to component settings (for example, AutoUpload, SaveUrl/RemoveUrl, AllowedExtensions, MinFileSize, and MaxFileSize).
61
61
62
62
### Copy
63
63
64
-
Shows a copy cursor during drag-and-drop. Dropped files are added to the uploader’s selection without modifying the originals. Upload proceeds based on the component configuration.
64
+
Shows a copy cursor during drag-and-drop. Dropped files are added to the File Upload’s selection without modifying the originals. File Upload proceeds based on the component configuration.
65
65
66
66
```cshtml
67
67
@@ -85,7 +85,7 @@ Shows a copy cursor during drag-and-drop. Dropped files are added to the uploade
85
85
86
86
### Move
87
87
88
-
Shows a move cursor during drag-and-drop. Source files are not moved from their original location; the uploader only adds them to the selection and uploads according to configuration.
88
+
Shows a move cursor during drag-and-drop. Source files are not moved from their original location; the File Upload only adds them to the selection and uploads according to configuration.
89
89
90
90
```cshtml
91
91
@@ -133,7 +133,7 @@ Shows a link cursor during drag-and-drop. This changes the cursor feedback only;
133
133
134
134
### None
135
135
136
-
Prevents dropping files on the uploader or the configured drop area. Use this when disabling drops is required regardless of validation rules.
136
+
Prevents dropping files on the File Upload or the configured drop area. Use this when disabling drops is required regardless of validation rules.
137
137
138
138
```cshtml
139
139
@@ -157,7 +157,7 @@ Prevents dropping files on the uploader or the configured drop area. Use this wh
157
157
158
158
## Clipboard Paste
159
159
160
-
The File Upload component supports file selection through clipboard paste operations. Click on the uploader element and press Ctrl+V to paste files from the clipboard. The pasted files are added to the selected files list.
160
+
The File Upload component supports file selection through clipboard paste operations. Click on the File Upload element and press Ctrl+V to paste files from the clipboard. The pasted files are added to the selected files list.
0 commit comments