Class MaskEdit
The MaskEdit control provides an easy and reliable way of collecting user input and displaying standard data in a specific format. Some common uses of the MaskEdit control are IP address editors, phone number editors, and Social Security number editors.
Implements
System.Web.IHtmlString
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Syncfusion.JavaScript
Assembly: Syncfusion.EJ.dll
Syntax
public class MaskEdit : Control, IHtmlString
Constructors
MaskEdit()
Initializes a new instance of the MaskEdit class.
Declaration
public MaskEdit()
MaskEdit(String, MaskEditProperties)
Initializes a new instance of the MaskEdit class by the specified id and the MaskEdit properties.
Declaration
public MaskEdit(string id, MaskEditProperties propModel)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | id | |
| MaskEditProperties | propModel |
Properties
MaskEditModel
Gets or sets the MaskEdit properties to the model.
Declaration
public MaskEditProperties MaskEditModel { get; set; }
Property Value
| Type | Description |
|---|---|
| MaskEditProperties |
Model
Instance of control properties class
Declaration
protected override object Model { get; }
Property Value
| Type | Description |
|---|---|
| System.Object |
Overrides
PluginName
Gets the plugin name of the MaskEdit element as 'ejMaskEdit'.
Declaration
public override string PluginName { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
TagName
Gets the tag name of the MaskEdit element as 'input'.
Declaration
public override string TagName { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Methods
CreateContainer(String)
Represents an HTML-encoded string of the Autocomplete control that should not be encoded again.
Declaration
public override HtmlString CreateContainer(string controlId)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | controlId |
Returns
| Type | Description |
|---|---|
| System.Web.HtmlString |
Overrides
RenderControl(String)
Represents an HTML element of the MaskEdit control.
Declaration
public override void RenderControl(string controlId)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | controlId |
Overrides
Implements
System.Web.IHtmlString