Skip to main content
.NET Framework 4.6.2+

IModelCommonMemberViewItem.EditMask Property

Specifies a mask expression for a Property Editor.

Namespace: DevExpress.ExpressApp.Model

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

[ModelBrowsable(typeof(MaskSettingsVisibilityCalculator))]
string EditMask { get; set; }

Property Value

Type Description
String

A mask expression for a Property Editor.

Remarks

Note

Use the MaskSettings property instead of the EditMask property in WinForms application projects.

The default EditMask value is the IModelRegisteredPropertyEditor.DefaultEditMask property value.

You can set the EditMask property in the Model Editor.

EditMask in the Model Editor

See the following topic for more information on how to specify mask expressions: PropertyEditor.EditMask.

Note

The EditMask 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.

See Also