MaskedTextBox
Class
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Syntax:
C#
public class MaskedTextBox : WidgetBase, IWidget, IHtmlAttributesContainer, IScriptableComponent, IFormEditor
Inheritance: objectWidgetBaseMaskedTextBox
Implements:
Inherited Members
Constructors
C#
public MaskedTextBox(ViewContext viewContext, IJavaScriptInitializer javaScriptInitializer, ViewDataDictionary viewData)
Properties
C#
public bool ClearPromptChar { get; set; }
Defines the "inputmode" attribute of the inner <input /> element. The attribute specifies the type of on-screen keyboard displayed when the user focuses the input.
C#
public string InputMode { get; set; }
C#
public MaskedTextBoxLabelSettings Label { get; set; }
C#
public PrefixOptionsSettings PrefixOptions { get; set; }
C#
public string PromptChar { get; set; }
C#
public Dictionary<string, object> Rules { get; }
C#
public ComponentSize? Size { get; set; }
C#
public SuffixOptionsSettings SuffixOptions { get; set; }
C#
public bool UnmaskOnPost { get; set; }
Methods
C#
public override IDictionary<string, object> Serialize()
Overrides:
Implements:
Writes the HTML.
C#
protected override void WriteHtml(HtmlTextWriter writer)
Overrides:
Writes the initialization script.
C#
public override void WriteInitializationScript(TextWriter writer)
The writer.
Overrides: