| AdditionalAttributes |
Dictionary<string, object>? |
null |
|
Gets or sets additional attributes that will be applied to the component. |
1.0.0 |
| AllowedFileTypes |
IEnumerable<string>? |
null |
|
Gets or sets the allowed file extensions. |
4.0.0 |
| AriaLabel |
string |
Select files |
|
Gets or sets the accessible label for the file selection area. |
4.0.0 |
| BackgroundColor |
BackgroundColor |
None |
|
Gets or sets the contextual background color of the drag-and-drop area. |
4.0.0 |
| Class |
string? |
null |
|
Gets or sets the CSS class name(s) to apply to the component. |
1.0.0 |
| HintText |
string? |
null |
|
Gets or sets the hint text displayed below the component. |
4.0.0 |
| Id |
string? |
null |
|
Gets or sets the ID. If not set, a unique ID will be generated. |
1.0.0 |
| InvalidFileTypeErrorMessage |
string |
{FileName}: the file extension is not allowed. |
|
Gets or sets the invalid file type validation message template. |
4.0.0 |
| MaxFileCount |
int? |
null |
|
Gets or sets the maximum number of selected files. |
4.0.0 |
| MaxFileCountErrorMessage |
string |
{FileName}: the maximum number of files has been reached. |
|
Gets or sets the maximum file count validation message template. |
4.0.0 |
| MaxFileSize |
long? |
null |
|
Gets or sets the maximum allowed file size in bytes. |
4.0.0 |
| MaxFileSizeErrorMessage |
string |
{FileName}: the file exceeds the maximum allowed size. |
|
Gets or sets the maximum file size validation message template. |
4.0.0 |
| Multiple |
bool |
False |
|
Gets or sets whether multiple files can be selected. |
4.0.0 |
| SingleFileErrorMessage |
string |
Only one file can be selected. |
|
Gets or sets the single-file selection validation message template. |
4.0.0 |
| Style |
string? |
null |
|
Gets or sets the CSS style string that defines the inline styles for the component. |
1.0.0 |