Class FormElementDataFile
- Namespace
- JJMasterData.Core.DataDictionary.Models
- Assembly
- JJMasterData.Core.dll
public class FormElementDataFile
- Inheritance
-
FormElementDataFile
- Inherited Members
Properties
AllowPasting
[JsonProperty("allowPasting")]
[Display(Name = "Allow pasting files")]
public bool AllowPasting { get; set; }
Property Value
AllowedTypes
Allowed extension types, separated by a comma. Default: *
[Required]
[Display(Name = "Allowed Extensions")]
public string AllowedTypes { get; set; }
Property Value
Remarks
Example: txt,csv,log
DragDrop
[JsonProperty("dragDrop")]
[Display(Name = "Drag and Drop")]
public bool DragDrop { get; set; }
Property Value
ExportAsLink
Export file name with download link
[JsonProperty("exportAsLink")]
[Display(Name = "Export as Link")]
public bool ExportAsLink { get; set; }
Property Value
FolderPath
Physical path where the file will be saved
[Required]
[Display(Name = "Folder Path")]
public string FolderPath { get; set; }
Property Value
MaxFileSize
[JsonProperty("maxFileSize")]
[Display(Name = "Max File Size (MB)")]
public int MaxFileSize { get; set; }
Property Value
MultipleFile
Permite upload simultaneo de arquivos. Default: True
[JsonProperty("multipleFile")]
[Display(Name = "Allow Multiple Files")]
public bool MultipleFile { get; set; }
Property Value
ShowAsUploadView
[JsonProperty("showAsUploadView")]
[Display(Name = "Show Upload Outside Modal")]
public bool ShowAsUploadView { get; set; }
Property Value
ViewGallery
Preview images in gallery format
[JsonProperty("viewGallery")]
[Display(Name = "Show Files in Gallery")]
public bool ViewGallery { get; set; }
Property Value
Methods
DeepCopy()
public FormElementDataFile DeepCopy()