Skip to main content
All docs
V25.1
  • MaskEditorOptions.Mask Property

    Specifies the mask expression.

    Namespace: DevExpress.Blazor.Reporting.EditingFields

    Assembly: DevExpress.Blazor.v25.1.Viewer.dll

    NuGet Package: DevExpress.Blazor.Viewer

    Declaration

    public string Mask { get; set; }

    Property Value

    Type Description
    String

    An expression that specifies the editor mask.

    Remarks

    The following code registers a custom mask editor that allows uppercase latin letters:

    EditingFieldModelFactory.RegisterMaskEditor("UppercaseLatinLetters", 
        new MaskEditorOptions() { MaskMode = MaskMode.RegEx, 
            Mask = @"[A-Z]+" });
    

    Review the following topic for more examples of editor masks: Masks.

    See Also