RepositoryItemDateTimeOffsetEdit.EditMask Property
Gets or sets the active mask expression. This property is synchronized with the “MaskExpression” setting available through the RepositoryItemTextEdit.MaskSettings group.
Namespace: DevExpress.XtraEditors.Repository
Assembly: DevExpress.XtraEditors.v24.2.dll
Declaration
Property Value
Type | Description |
---|---|
String | The active mask expression. |
Remarks
Use the EditMask
property when you need to set up a mask expression, and do not require advanced settings that can be accessed through the RepositoryItemTextEdit.MaskSettings property.
dateTimeOffsetEdit1.Properties.EditMask = "hh 'hours', zzz";
//or
var settings =
dateTimeOffsetEdit1.Properties.MaskSettings.Configure<MaskSettings.DateTimeOffset>();
settings.MaskExpression = "hh 'hours', zzz";
See Also