The MaskSettings property is available in WinForms application projects.
Use the Model Editor to set the MaskSettings property value. In the Model Editor, select a View Item node that has a Property Editor. Find the MaskSettings option for this node. Click the ellipsis button in the MaskSettings editor to invoke the Mask Settings dialog.
Select the required mask type and choose one of the predefined expressions. You can also define a custom mask expression. See the following topic for more information: How to Apply Masks.
The MaskSettings property does not prohibit users from saving an incorrect value to a database (for example, when they do not fill all the required digits in a phone number). Configure Validation settings to prevent data errors.