TextEditSettings.MaskType Property

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

Namespace: DevExpress.Xpf.Editors.Settings

Assembly: DevExpress.Xpf.Core.v20.1.dll

Declaration

public MaskType MaskType { get; set; }
Public Property MaskType As MaskType

Property Value

Type Description
MaskType

One of the MaskType enumeration values.

Property Paths

You can access this nested property as listed below:

Object Type Path to MaskType
TokenEditorBehavior
.TokenEditSettings.MaskType
TokenEditorBehavior

Remarks

To learn more, see Masked Input.

Example

<dxg:GridControl ItemsSource="{Binding Customers}">
    <dxg:GridControl.View>
        <dxg:TableView />
    </dxg:GridControl.View>
    <dxg:GridColumn FieldName="Name"/>
    <dxg:GridColumn FieldName="City"/>
    <dxg:GridColumn FieldName="Birthday">
        <dxg:GridColumn.EditSettings>
            <dxe:TextEditSettings Mask="d" MaskType="DateTime" MaskUseAsDisplayFormat="True"/>
        </dxg:GridColumn.EditSettings>
    </dxg:GridColumn>
</dxg:GridControl>
See Also