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