Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

MaskEditorOptions.Mask Property

Specifies the mask expression.

Namespace: DevExpress.Blazor.Reporting.EditingFields

Assembly: DevExpress.Blazor.v24.2.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:

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

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

See Also