HtmlForgeX

API Reference

Enum

InputType

Namespace HtmlForgeX
Assembly HtmlForgeX
Base Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers sealed

TablerFormEnums enumeration.

Inheritance

  • Enum
  • InputType

Values

public const InputType Text #

Standard single-line text input.

Value: 0
public const InputType Email #

Email address input field.

Value: 1
public const InputType Password #

Password input field.

Value: 2
public const InputType Number #

Numeric input field.

Value: 3
public const InputType Date #

Date picker field.

Value: 4
public const InputType Time #

Time picker field.

Value: 5
public const InputType File #

File selection input.

Value: 6
public const InputType Tel #

Telephone number input.

Value: 7
public const InputType Url #

URL input field.

Value: 8
public const InputType Checkbox #

Checkbox input field.

Value: 9
public const InputType Hidden #

Hidden input field.

Value: 10
public const InputType TextArea #

Multi-line text area field.

Value: 11
public const InputType Color #

Color input field.

Value: 12
public const InputType Range #

Range input field.

Value: 13

Extension Methods

public static String ToInputString(InputType type) #
Returns: String

Converts the InputType value to its HTML type attribute value.

Parameters

type HtmlForgeX.InputType requiredposition: 0