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
IncludeLiterals
Specifies whether to include literals in the raw value. Defaults to false.
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 " ".
ShowClearButton
Specifies whether the clear button should be displayed.
ShowPrefixSeparator
Defines whether the prefix separator should be shown. The default value is true.
ShowSuffixSeparator
Defines whether the suffix separator should be shown. The default value is true.
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
Overrides
SetParametersAsync(ParameterView)
Declaration
public override Task SetParametersAsync(ParameterView parameters)
Parameters
parameters
Returns
Overrides