blazor-devexpress-dot-blazor-4056babd.md
Declares masked input settings.
Namespace : DevExpress.Blazor
Assembly : DevExpress.Blazor.v25.2.dll
NuGet Package : DevExpress.Blazor
public interface IMaskedInputSettings :
IButtonEditSettings,
ITextEditSettings,
IEditSettings
The IMaskedInputSettings interface allows you to get and customize settings of a masked input editor at runtime. You can get editor settings in the following ways:
Call the GetColumnEditSettings method to get editor settings of the column bound to the specified data source field.
Handle the CustomizeFilterRowEditor event to customize a cell editor in the filter row.
void Grid_CustomizeFilterRowEditor(GridCustomizeFilterRowEditorEventArgs e) {
if(e.EditSettings is IMaskedInputSettings spinEditSettings)
spinEditSettings.MaskMode = MaskMode.RegEx;
}
void Grid_CustomizeDataRowEditor(GridCustomizeDataRowEditorEventArgs e) {
if(e.EditSettings is IMaskedInputSettings spinEditSettings)
spinEditSettings.MaskMode = MaskMode.RegEx;
}
See Also