Tab
A newer version of this page is available. Switch to the current version.

MaskSettings Class

Contains mask settings.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

Declaration

public class MaskSettings :
    PropertiesBase

The following members accept/return MaskSettings objects:

Remarks

The MaskSettings class contains the settings that allow you to specify the input mask, error text, prompt char, and to define whether the literal characters of the mask are included in an editor’s value.

These settings can be accessed via the MaskSettings property of editor controls.

Example

  • Zip code

<dx:ASPxTextBox ID="txtZip" runat="server">
    <MaskSettings Mask="00000" PromptChar="#" />
</dx:ASPxTextBox>
  • Phone Number