Skip to main content

RepositoryItemCalcEdit.EditMask Property

Gets or sets an edit mask

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue("")]
[DXCategory("Format")]
public string EditMask { get; set; }

Property Value

Type Default Description
String String.Empty

A string which specifies a mask expression.

Remarks

Use the EditMask property to specify the pattern used to enter values. By default, a calc editor uses the MaskType.Numeric mask mode to enter values. That way, the edit mask should be constructed using the syntax described in the Mask Type: Numeric document.

By default, the EditMask property is set to an empty string. This default mask allows real values of a non-fixed length to be entered.

The EditMask property’s value is synchronized with the MaskProperties.EditMask which can be accessed via the RepositoryItemTextEdit.Mask property.

See Also