Back to Devexpress

RepositoryItemDateEdit.EditMask Property

windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitemdateedit-a972a740.md

latest2.2 KB
Original Source

RepositoryItemDateEdit.EditMask Property

Gets or sets an edit mask.

Namespace : DevExpress.XtraEditors.Repository

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue("d")]
[DXCategory("Format")]
public string EditMask { get; set; }
vb
<DXCategory("Format")>
<DefaultValue("d")>
Public Property EditMask As String

Property Value

TypeDefaultDescription
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

MaskSettings

RepositoryItemDateEdit Class

RepositoryItemDateEdit Members

DevExpress.XtraEditors.Repository Namespace