Class TelerikMaskedTextBox
The Telerik Masked TextBox class.
Inherited Members
Namespace: Telerik.Blazor.Components
Assembly: Telerik.Blazor.dll
Syntax
public class TelerikMaskedTextBox : TextBoxBase, IDisposable, ILabelableInput
Constructors
TelerikMaskedTextBox()
Declaration
public TelerikMaskedTextBox()
Properties
FillMode
Specifies the fill mode of the MaskedTextBox. Default value is Solid.
Declaration
public override string FillMode { get; set; }
Property Value
System.String
|
Overrides
IncludeLiterals
Specifies whether to include literals in the raw value. Defaults to false.
Declaration
public bool IncludeLiterals { get; set; }
Property Value
System.Boolean
|
InputMode
Specifies the inputmode attribute of the MaskedTextBox.
Declaration
public string InputMode { get; set; }
Property Value
System.String
|
Mask
Represents the current mask. If no mask is set, the component behaves as a standard type="text" input.
Declaration
public string Mask { get; set; }
Property Value
System.String
|
MaskedTextBoxPrefixTemplate
The content of the MaskedTextBox prefix.
Declaration
public RenderFragment MaskedTextBoxPrefixTemplate { get; set; }
Property Value
Microsoft.AspNetCore.Components.RenderFragment
|
MaskedTextBoxSuffixTemplate
The content of the MaskedTextBox suffix.
Declaration
public RenderFragment MaskedTextBoxSuffixTemplate { get; set; }
Property Value
Microsoft.AspNetCore.Components.RenderFragment
|
MaskOnFocus
Specifies whether the mask should be shown on focus for empty value.
Declaration
public bool MaskOnFocus { get; set; }
Property Value
System.Boolean
|
Prompt
Represents a prompt character for the masked value. Defaults to "_".
Declaration
public char Prompt { get; set; }
Property Value
System.Char
|
PromptPlaceholder
Indicates a character which represents an empty position in the raw value. Defaults to " ".
Declaration
public Nullable<char> PromptPlaceholder { get; set; }
Property Value
System.Nullable<System.Char>
|
Rounded
Specifies the roundness of the MaskedTextBox. Default value is Medium.
Declaration
public override string Rounded { get; set; }
Property Value
System.String
|
Overrides
ShowClearButton
Specifies whether the clear button should be displayed.
Declaration
public bool ShowClearButton { get; set; }
Property Value
System.Boolean
|
ShowPrefixSeparator
Defines whether the prefix separator should be shown. The default value is true.
Declaration
public bool ShowPrefixSeparator { get; set; }
Property Value
System.Boolean
|
ShowSuffixSeparator
Defines whether the suffix separator should be shown. The default value is true.
Declaration
public bool ShowSuffixSeparator { get; set; }
Property Value
System.Boolean
|
Size
Specifies the Size of the text MaskedTextBox. Default value is Medium.
Declaration
public override string Size { get; set; }
Property Value
System.String
|
Overrides
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder
__builder
|
OnAfterRenderInternalAsync(Boolean)
Declaration
protected override Task OnAfterRenderInternalAsync(bool firstRender)
Parameters
System.Boolean
firstRender
|
Returns
System.Threading.Tasks.Task
|
Overrides
OnParametersSetInternalAsync()
Declaration
protected override Task OnParametersSetInternalAsync()
Returns
System.Threading.Tasks.Task
|
Overrides
SetParametersAsync(ParameterView)
Declaration
public override Task SetParametersAsync(ParameterView parameters)
Parameters
Microsoft.AspNetCore.Components.ParameterView
parameters
|
Returns
System.Threading.Tasks.Task
|