Table of Contents

Class FileUploadComponent

Namespace: Casewhere.Models.FormBuilder.Components
Assembly: Casewhere.Models.dll

Represents a file upload component in the form builder.

public class FileUploadComponent : FormDataComponent, INgModelOptions

Inheritance

objectFormComponentFormDataComponentFileUploadComponent

Implements

INgModelOptions

Inherited Members

object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone()

Extension Methods

ObjectExtension.ConvertToBsonValue(object), EnumExtensions.DeepClone<FileUploadComponent>(FileUploadComponent)

Constructors

FileUploadComponent()

public FileUploadComponent()

Properties

FileExtention

Gets or sets the allowed file extension for the file upload component.

public string FileExtention { get; set; }

Property Value

string

FileInvalidMessage

Gets or sets the error message to display when an invalid file is uploaded.

public string FileInvalidMessage { get; set; }

Property Value

string

FileSize

Gets or sets the maximum file size allowed for the file upload component.

public string FileSize { get; set; }

Property Value

string

Placeholder

Gets or sets the placeholder text for the file upload component.

public string Placeholder { get; set; }

Property Value

string