[]
Defines a builder to configurate InputMask.
public class InputMaskBuilder : FormInputBaseBuilder<InputMask, InputMaskBuilder>, IHtmlString
Name | Description |
---|---|
InputMaskBuilder(InputMask) | Creates one InputMaskBuilder instance to configurate |
Name | Description |
---|---|
InputType(string) | Configurates InputType. Sets the "type" attribute of the HTML input element hosted by the control. |
IsReadOnly(bool) | Configurates IsReadOnly. Sets a value that indicates whether the user can modify the control value using the mouse and keyboard. |
IsRequired(bool) | Configurates IsRequired. Sets a value indicating whether the control value must be a non-empty string. |
Mask(string) | Configurates Mask. Sets the mask used to validate the input as the user types. |
OnClientInvalidInput(string) | Configurates the OnClientInvalidInput client event. Occurs when invalid input is detected. |
OnClientValueChanged(string) | Configurates the OnClientValueChanged client event. Occurs when the value of the Value property changes. |
OverwriteMode(bool) | Configurates OverwriteMode. Sets a value that determines whether the input element handles input in overwrite mode. In overwrite mode, every character you type is displayed at the cursor position. If a character is already at that position, it is replaced. |
Placeholder(string) | Configurates Placeholder. Sets the string shown as a hint when the control is empty. |
PromptChar(char) | Configurates PromptChar. Sets the symbol used to show input positions in the control. |
RawValue(string) | Configurates RawValue. Sets the raw value of the control (excluding mask literals). |
Value(string) | Configurates Value. Sets the text currently shown in the control. |