RepositoryItemDateEdit.EditMask Property

Gets or sets an edit mask.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v20.1.dll


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

Property Value

Type Default Description


A string specifying a mask expression.


Use the EditMask property to specify the pattern used to enter values.

By default, a date editor's MaskProperties.MaskType property is set to MaskType.DateTime and the EditMask property is set to "d". In this case, the date editor accepts values in the form specified by the ShortDatePattern pattern. Refer to the Mask Type: Date-time document for information on the available date/time patterns.

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

See Also