Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DxFileInput Properties
Show Inherited Hide Inherited

A component that allows you to access the contents of selected files directly in razor code.
Name Description
AcceptedFileTypes Specifies MIME types users can add 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>.
ChildContent 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.
Visible Specifies whether the component is visible.
See Also