Skip to content

Commit ed08fd7

Browse files
authored
983306: Re-structing the Drag and drop section of File uploader.
1 parent d3b96ed commit ed08fd7

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

blazor-toc.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2981,7 +2981,7 @@
29812981
<li> <a href="/blazor/file-upload/chunk-upload">Chunk Upload</a></li>
29822982
<li> <a href="/blazor/file-upload/localization">Localization</a></li>
29832983
<li> <a href="/blazor/file-upload/file-source">File Source</a></li>
2984-
<li> <a href="/blazor/file-upload/drag-and-drop">Template</a></li>
2984+
<li> <a href="/blazor/file-upload/drag-and-drop">Drag and Drop</a></li>
29852985
<li> <a href="/blazor/file-upload/template">Template</a></li>
29862986
<li> <a href="/blazor/file-upload/validation">Validation</a></li>
29872987
<li> <a href="/blazor/file-upload/form-integration">Form Integration</a></li>

blazor/file-upload/drag-and-drop.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ documentation: ug
99

1010
# Drag and drop in Blazor File Upload Component
1111

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.
1313

1414
## Custom DropArea
1515

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.
1717

1818
```cshtml
1919
@using Syncfusion.Blazor.Inputs
@@ -57,11 +57,11 @@ body .e-upload-drag-hover {
5757

5858
## DropEffect
5959

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).
6161

6262
### Copy
6363

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.
6565

6666
```cshtml
6767
@@ -85,7 +85,7 @@ Shows a copy cursor during drag-and-drop. Dropped files are added to the uploade
8585

8686
### Move
8787

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.
8989

9090
```cshtml
9191
@@ -133,7 +133,7 @@ Shows a link cursor during drag-and-drop. This changes the cursor feedback only;
133133

134134
### None
135135

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.
137137

138138
```cshtml
139139
@@ -157,7 +157,7 @@ Prevents dropping files on the uploader or the configured drop area. Use this wh
157157

158158
## Clipboard Paste
159159

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.
161161

162162
```cshtml
163163
@using Syncfusion.Blazor.Inputs

0 commit comments

Comments
 (0)