Table of Contents

Class TextboxComponent

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

Represents a textbox component in the form builder.

public class TextboxComponent : FormDataComponent, INgModelOptions, IHasMaxLength, IHasMinLength

Inheritance

objectFormComponentFormDataComponentTextboxComponent

Implements

INgModelOptions, IHasMaxLength, IHasMinLength

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<TextboxComponent>(TextboxComponent)

Constructors

TextboxComponent()

public TextboxComponent()

Properties

ClientReadOnly

Gets or sets the client-side read-only rule for the textbox.

public string ClientReadOnly { get; set; }

Property Value

string

MaxLength

Gets or sets the maximum length of the textbox.

public string MaxLength { get; set; }

Property Value

string

MinLength

public string MinLength { get; set; }

Property Value

string

Placeholder

Gets or sets the placeholder text of the textbox.

public string Placeholder { get; set; }

Property Value

string

ReadOnly

Gets or sets the read-only rule for the textbox.

public ReadOnlyRule ReadOnly { get; set; }

Property Value

ReadOnlyRule

Type

Gets or sets the input type of the textbox.

public InputType Type { get; set; }

Property Value

InputType

Value

Gets or sets the value of the textbox.

public string Value { get; set; }

Property Value

string