Fundamentals
Components
Code Utilities
Demo
BcFileDropAreaPage
Description
The FileDrop component allows users to upload files by dragging and dropping them into the designated area.
Parameters
ChildContent
RenderFragment?
The default content displayed when no file is being dragged over the drop area.
DragOverContent
RenderFragment?
The content displayed when a file is being dragged over the drop area.
FileChanged
EventCallback < BcFileRef >
An event triggered when a file is added, removed, or changed in the drop area.
Accepts
string
Specifies the file types that can be uploaded.
MaxFileSize
long
Defines the maximum allowed file size for uploads.
Sample
Drop File here!