MaskType Enum
Lists values that specify the type of mask used by an editor.
Namespace: DevExpress.Xpf.Editors
Assembly: DevExpress.Xpf.Core.v22.1.dll
NuGet Package: DevExpress.Wpf.Core
Declaration
Members
Name | Description |
---|---|
None
|
Specifies that the mask feature is disabled. |
DateTime
|
Specifies that the editor should accept date/time values, and that the mask string must use the DateTime format syntax. |
DateTimeAdvancingCaret
|
The DateTime mask mode with the caret automatic movement feature. After an end user enters and completes a specific portion of a date/time value, the caret automatically moves to the following part of the date/time value that can be edited. |
Numeric
|
Specifies that the editor should accept numeric values, and that the mask string must use the Numeric format syntax. |
RegEx
|
Specifies that the mask should be created using the full-functional regular expressions. |
Regular
|
Specifies that the mask should be created using the simplified regular expression syntax. |
Simple
|
Specifies that the mask should use the simplified syntax. |
TimeSpan
|
Specifies that the editor should accept time interval values, and that the mask string must use the TimeSpan format syntax. |
TimeSpanAdvancingCaret
|
The TimeSpan mask mode with the caret automatic movement feature. After an end user enters and completes a specific portion of a time span value, the caret automatically moves to the following part of the time span value that can be edited. |
Related API Members
The following properties accept/return MaskType values:
Remarks
The values listed by this enumeration are used to set the TextEdit.MaskType and TextEditSettings.MaskType properties. The mask itself can be specified via the TextEdit.Mask and TextEditSettings.Mask properties.