The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

IModelCommonMemberViewItem.EditMask Property

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

Namespace: DevExpress.ExpressApp.Model

Assembly: DevExpress.ExpressApp.v19.2.dll

Declaration

string EditMask { get; set; }
Property EditMask As String
string EditMask { get; set; }
Property EditMask As String
string EditMask { get; set; }
Property EditMask As String

Property Value

Type Description
String

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

Property Value

Type Description
String

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

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