Skip to main content
All docs
V24.1

MaskEditorOptions.Mask Property

Specifies the mask expression.

Namespace: DevExpress.Blazor.Reporting.EditingFields

Assembly: DevExpress.Blazor.Reporting.v24.1.Viewer.dll

NuGet Package: DevExpress.Blazor.Reporting.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