Class IgbMaskInput
A masked input is an input field where a developer can control user input and format the visible value,
based on configurable rules
Inheritance
System.Object
IgbMaskInput
Implements
System.IDisposable
Assembly: IgniteUI.Blazor.dll
public class IgbMaskInput : IgbMaskInputBase, RefSink, JsonSerializable, IDisposable
Constructors
Declaration
Properties
Declaration
public EventCallback<IgbComponentValueChangedEventArgs> Change { get; set; }
Property Value
Declaration
public string ChangeScript { get; set; }
Property Value
| Type |
Description |
| System.String |
|
Declaration
protected override string DirectRenderElementName { get; }
Property Value
| Type |
Description |
| System.String |
|
Overrides
Declaration
protected override bool SupportsVisualChildren { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
Overrides
Declaration
public override string Type { get; }
Property Value
| Type |
Description |
| System.String |
|
Overrides
Declaration
protected override bool UseDirectRender { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
Overrides
The value of the input.
Regardless of the currently set value-mode, an empty value will return an empty string.
Declaration
public string Value { get; set; }
Property Value
| Type |
Description |
| System.String |
|
Declaration
public EventCallback<string> ValueChanged { get; set; }
Property Value
| Type |
Description |
| Microsoft.AspNetCore.Components.EventCallback<System.String> |
|
Dictates the behavior when retrieving the value of the control:
raw: Returns clean input (e.g. "5551234567")
withFormatting: Returns with mask formatting (e.g. "(555) 123-4567")
Empty values always return an empty string, regardless of the value mode.
@default 'raw'
Declaration
public MaskInputValueMode ValueMode { get; set; }
Property Value
Methods
Declaration
protected override void EnsureModulesLoaded()
Overrides
Declaration
public override object FindByName(string name)
Parameters
| Type |
Name |
Description |
| System.String |
name |
|
Returns
| Type |
Description |
| System.Object |
|
Overrides
Declaration
public string GetCurrentValue()
Returns
| Type |
Description |
| System.String |
|
Declaration
public Task<string> GetCurrentValueAsync()
Returns
| Type |
Description |
| System.Threading.Tasks.Task<System.String> |
|
Declaration
protected override string ResolveDisplay()
Returns
| Type |
Description |
| System.String |
|
Overrides
Implements
System.IDisposable