Skip to main content
A newer version of this page is available. .

IModelCommonMemberViewItem.EditMask Property

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

Namespace: DevExpress.ExpressApp.Model

Assembly: DevExpress.ExpressApp.v18.2.dll

Declaration

string EditMask { get; set; }

Property Value

Type Description
String

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

Remarks

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.

MaskEditor

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.

Note

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