[]
ITagHelper implementation for InputMask.
[HtmlTargetElement("c1-input-mask")]
public class InputMaskTagHelper : FormInputBaseTagHelper<InputMask>, ITagHelper, ITagHelperComponent, ITemplateTagHelper
Name | Description |
---|---|
InputMaskTagHelper() |
Name | Description |
---|---|
InputType | Configurates InputType. Sets the "type" attribute of the HTML input element hosted by the control. |
InvalidInput | Configurates the OnClientInvalidInput client event. Occurs when invalid input is detected. |
IsReadOnly | Configurates IsReadOnly. Sets a value that indicates whether the user can modify the control value using the mouse and keyboard. |
IsRequired | Configurates IsRequired. Sets a value indicating whether the control value must be a non-empty string. |
Mask | Configurates Mask. Sets the mask used to validate the input as the user types. |
OverwriteMode | 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 | Configurates Placeholder. Sets the string shown as a hint when the control is empty. |
PromptChar | Configurates PromptChar. Sets the symbol used to show input positions in the control. |
RawValue | Configurates RawValue. Sets the raw value of the control (excluding mask literals). |
Value | Configurates Value. Sets the text currently shown in the control. |
ValueChanged | Configurates the OnClientValueChanged client event. Occurs when the value of the Value property changes. |
Name | Description |
---|---|
ProcessAttributes(TagHelperContext, object) | Processes the attributes set in the taghelper. |