.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+
You are viewing help content for pre-release software. This document and the features it describes are subject to change. Switch to the current version.

IModelCommonMemberViewItem.EditMask Property

Specifies the edit mask of a value in the current Property Editor.

Namespace: DevExpress.ExpressApp.Model

Assembly: DevExpress.ExpressApp.v21.2.dll


string EditMask { get; set; }

Property Value

Type Description

A string specifying the edit mask of a value in the current Property Editor.


The EditMask value is taken from IModelRegisteredPropertyEditor.DefaultEditMask. Supported values are described in the EditMask topic.

The following dialog is displayed when you click the ellipsis button to the right of the EditMask value in the Model Editor.


Certain options displayed in Mask Editor are not supported by XAF Application Model:

You can Access Editor Settings in code to specify them, instead of using the Model Editor.


The EditMask only prompts a user. It cannot prohibit saving the incorrect value (e.g., when a user does not fill all the required digits in a phone number). Use the Validation Module to configure strict rules.

See Also