RepositoryItemCalcEdit.EditMask Property

Gets or sets an edit mask

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v21.2.dll

Declaration

[DXCategory("Format")]
[DefaultValue("")]
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