Skip to main content

GridMaskColumn.MaskType Property

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

Namespace: DevExpress.WinUI.Grid

Assembly: DevExpress.WinUI.Grid.v23.2.dll

NuGet Package: DevExpress.WinUI

Declaration

[DP(MaskType.Numeric, Handler = "OnMaskTypePropertyChanged")]
public MaskType MaskType { get; set; }

Property Value

Type Description
MaskType

One of the 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

Remarks

To learn more, see Mask Types.

See Also