Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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