Back to Devexpress

RepositoryItemTimeEdit.EditMask Property

windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitemtimeedit-d2e0b5ad.md

latest2.2 KB
Original Source

RepositoryItemTimeEdit.EditMask Property

Gets or sets the edit mask.

Namespace : DevExpress.XtraEditors.Repository

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDefaultDescription
String"T"

A string which specifies a mask expression.

|

Remarks

Use the EditMask property to specify the pattern which will be used to enter values.

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

See Also

Mask Type: DateTime

RepositoryItemTimeEdit Class

RepositoryItemTimeEdit Members

DevExpress.XtraEditors.Repository Namespace