Class FileUpload
- Namespace
- Dynamicweb.CoreUI.Editors.Inputs
- Assembly
- Dynamicweb.CoreUI.dll
public sealed class FileUpload : EditorBase<string>
- Inheritance
-
FileUpload
- Inherited Members
- Extension Methods
Properties
Accept
Gets or sets the list of strings that defines the file types the file input should accept. The list of unique file type specifiers.
public List<string> Accept { get; }
Property Value
Examples
Accept.Add(".mp4"); Accept.Add("application/msword"); Accept.Add("image/*"); // meaning "any image file"
- See Also
Actions
public List<ActionNode> Actions { get; }
Property Value
Multiple
public bool Multiple { get; set; }
Property Value
OnUploadCompleteAction
public ActionBase? OnUploadCompleteAction { get; set; }
Property Value
Path
public string Path { get; set; }