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