DxFileInput Properties
A component that allows you to access the contents of selected files directly in razor code.| Name | Description |
|---|---|
| AcceptedFileTypes | Specifies MIME types that users can select in the Open File dialog to add them to the file list. |
| AllowCancel | Specifies whether users can cancel upload operations. |
| AllowedFileExtensions | Specifies file extensions that the File Input component can upload. |
| AllowMultiFileUpload | Specifies whether users can add multiple files to the file list simultaneously. |
| Attributes | Specifies a collection of standard HTML attributes applied to the component. Inherited from DxControlComponent<JSProxyType>. |
| CssClass | Assigns a CSS class to the component. Inherited from DxComponent. |
| ExternalDropZoneCssSelector | Specifies the CSS selector of a container or HTML element where users can drop files. |
| ExternalDropZoneDragOverCssClass | Assigns a CSS class to the drop zone when users drag files over it. |
| ExternalSelectButtonCssSelector | Specifies the CSS selector of a button or an HTML element that invokes the Open dialog. |
| Id | Specifies the component’s unique identifier. Inherited from DxComponent. |
| MaxFileCount | Specifies the maximum number of files that users can add to the file list. |
| MaxFileSize | Specifies the maximum file size in bytes. |
| MinFileSize | Specifies the minimum file size in bytes. |
| SelectButtonText | Specifies the caption of the built-in select button. |
| ShowFileList | Specifies whether to show the file list. |
| ShowSelectButton | Specifies whether to show the built-in select button that invokes the Open dialog. |
| UploadMode | Specifies when the File Input component starts upload operations. |
| ValidateByAcceptedFileTypes | Specifies whether the component validates selected/dropped files against accepted file types before adding them to the file list. |
| Visible | Specifies whether the component is visible. |
See Also