Skip to main content

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

RepositoryItemDateEdit.EditMask Property

Gets or sets an edit mask.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

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

#Property Value

Type Default Description
String "d"

A string specifying a mask expression.

#Remarks

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.

See Also