Skip to main content

TextInputMaskSettings.MaskType Property

Gets or sets the mask type. This is a dependency property.

Namespace: DevExpress.UI.Xaml.Editors

Assembly: DevExpress.UI.Xaml.Editors.v21.2.dll

Declaration

public MaskType MaskType { get; set; }

Property Value

Type Description
MaskType

One of the DevExpress.UI.Xaml.Editors.MaskType enumeration values.

Available values:

Name Description
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
TimeSpanAdvancingCaret
See Also