aspnet-5217-components-file-management-file-upload-visual-elements.md
This topic describes the on-screen ASPxUploadControl elements and lists the main members that affect their appearance and functionality.
The Add Button adds a new file input element.
| Characteristics | Members |
|---|---|
| Visibility | ASPxUploadControl.ShowAddRemoveButtons |
| Appearance | ASPxUploadControl.AddButton, ASPxUploadControl.ButtonStyle |
| Alignment | ASPxUploadControl.AddUploadButtonsHorizontalPosition |
| Spacing | ASPxUploadControl.ButtonSpacing |
The Browse Button allows users to select a file to upload.
| Characteristics | Members |
|---|---|
| Appearance | ASPxUploadControl.BrowseButton, ASPxUploadControl.BrowseButtonStyle |
| Width | UploadControlBrowseButtonStyle.Width |
| Count | ASPxUploadControl.FileInputCount |
| Spacings | ASPxUploadControl.FileInputSpacing |
The Cancel Button cancels the upload.
| Characteristics | Members |
|---|---|
| Visibility | ASPxUploadControl.ShowProgressPanel |
| Style and Settings | ASPxUploadControl.CancelButton, ASPxUploadControl.ButtonStyle |
| Position | ASPxUploadControl.CancelButtonHorizontalPosition |
| Spacing | ASPxUploadControl.CancelButtonSpacing |
The Clear File Selection Button clears the text box (removes the selected files).
| Characteristics | Members |
|---|---|
| Image | ASPxUploadControl.ClearFileSelectionImage |
| Visibility | ASPxUploadControl.ShowClearFileSelectionButton |
The Drop Zone is displayed over the upload control when a user drags a file over it.
| Characteristics | Members |
|---|---|
| Availability | UploadAdvancedModeSettings.EnableDragAndDrop |
| Style | UploadControlStyles.DropZone |
The File Input Element allows users to select files to upload.
| Characteristics | Members |
|---|---|
| Count | ASPxUploadControl.FileInputCount |
| Spacings | ASPxUploadControl.FileInputSpacing |
| Render Mode | ASPxUploadControl.Native |
The File List contains a list of files for upload, allows users to remove a particular file from the list, and shows the upload progress.
| Characteristics | Members |
|---|---|
| Availability | UploadAdvancedModeSettings.EnableFileList |
| Position | UploadAdvancedModeSettings.FileListPosition |
| Style | UploadAdvancedModeSettings.FileListItemStyle |
The Progress Bar shows the upload progress.
| Characteristics | Members |
|---|---|
| Visibility | ASPxUploadControl.ShowProgressPanel, UploadAdvancedModeSettings.EnableFileList |
| Style | ASPxUploadControl.ProgressBarStyle |
The Progress Bar Indicator indicates the status of the upload process.
| Characteristics | Members |
|---|---|
| Visibility | ProgressBarSettings.ShowPosition |
| Style | ASPxUploadControl.ProgressBarIndicatorStyle |
The Remove Button removes a file input element or a file from the file list.
The Text Box shows information about the selected file or prompt/null text.
| Characteristics | Members |
|---|---|
| Appearance | ASPxUploadControl.TextBoxStyle |
| Count | ASPxUploadControl.FileInputCount |
| Height | UploadControlTextBoxStyleBase.Height |
| Null Text | ASPxUploadControl.NullText, ASPxUploadControl.NullTextStyle |
| Spacings | ASPxUploadControl.FileInputSpacing |
| Visibility | ASPxUploadControl.ShowTextBox |
The Upload Button starts the file upload.
| Characteristics | Members |
|---|---|
| Visibility | ASPxUploadControl.ShowUploadButton |
| Appearance | ASPxUploadControl.UploadButton, ASPxUploadControl.ButtonStyle |
| Alignment | ASPxUploadControl.AddUploadButtonsHorizontalPosition |
| Spacing | ASPxUploadControl.ButtonSpacing, ASPxUploadControl.AddUploadButtonsSpacing |