RadzenSecurityCode Class

RadzenRating component.

Inheritance

Object

ComponentBase

RadzenComponent

FormComponent<string>

RadzenSecurityCode

Implements

IComponent

IHandleEvent

IHandleAfterRender

IRadzenFormComponent

Inherited Members

FormComponent<string>.GetValue

FormComponent<string>.NotifyFieldChanged

FormComponent<string>.OnContextMenu

FormComponent<string>.GetClassList

FormComponent<string>.Name

FormComponent<string>.TabIndex

FormComponent<string>.Placeholder

FormComponent<string>.Disabled

FormComponent<string>.EditContext

FormComponent<string>.Form

FormComponent<string>.ValueChanged

FormComponent<string>.HasValue

FormComponent<string>.IsBound

FormComponent<string>.Value

FormComponent<string>.Change

FormComponent<string>.FieldIdentifier

FormComponent<string>.ValueExpression

FormComponent<string>.FormFieldContext

FormComponent<string>.CurrentPlaceholder

FormComponent<string>._value

RadzenComponent.OnMouseEnter

RadzenComponent.OnMouseLeave

RadzenComponent.GetCssClass

RadzenComponent.GetId

RadzenComponent.Debounce

RadzenComponent.Localize

RadzenComponent.OnInitialized

RadzenComponent.RaiseContextMenu

RadzenComponent.RaiseMouseEnter

RadzenComponent.AddContextMenu

RadzenComponent.RaiseMouseLeave

RadzenComponent.OnBecameInvisible

RadzenComponent.Attributes

RadzenComponent.Element

RadzenComponent.MouseEnter

RadzenComponent.MouseLeave

RadzenComponent.ContextMenu

RadzenComponent.Culture

RadzenComponent.DefaultCulture

RadzenComponent.UICulture

RadzenComponent.DefaultUICulture

RadzenComponent.Style

RadzenComponent.Visible

RadzenComponent.UniqueID

RadzenComponent.JSRuntime

RadzenComponent.IsJSRuntimeAvailable

RadzenComponent.Reference

RadzenComponent.CurrentStyle

ComponentBase.OnInitializedAsync

ComponentBase.OnParametersSet

ComponentBase.OnParametersSetAsync

ComponentBase.StateHasChanged

ComponentBase.ShouldRender

ComponentBase.OnAfterRender

ComponentBase.InvokeAsync

ComponentBase.DispatchExceptionAsync

ComponentBase.RendererInfo

ComponentBase.Assets

ComponentBase.AssignedRenderMode

Namespace: Radzen.Blazor

Assembly: Radzen.Blazor.dll

Syntax

public class RadzenSecurityCode : FormComponent<string>, IComponent, IHandleEvent, IHandleAfterRender, IRadzenFormComponent

Examples

<RadzenRating Stars="10" Change=@(args => Console.WriteLine($"Value: {args}")) />

Constructors

RadzenSecurityCodeLink to this section

RadzenRating component.

Declaration
public RadzenSecurityCode()

Properties

AriaLabelLink to this section

Gets or sets the accessible label text of the security code group.

Declaration
public string AriaLabel { get; set; }
Property Value
Type Description
stringGets or sets the accessible label text of the security code group.

CountLink to this section

Gets or sets the number of input.

Declaration
public int Count { get; set; }
Property Value
Type Description
intGets or sets the number of input.

GapLink to this section

Gets or sets the spacing between inputs

Declaration
public string Gap { get; set; }
Property Value
Type Description
stringGets or sets the spacing between inputs

InputAriaLabelFormatLink to this section

Gets or sets the format string used to build the accessible label of each input. The first argument is the input position and the second one is the total number of inputs.

Declaration
public string InputAriaLabelFormat { get; set; }
Property Value
Type Description
stringGets or sets the format string used to build the accessible label of each input. The first argument is the input position and the second one is the total number of inputs.

TypeLink to this section

Gets or sets the number of input.

Declaration
public SecurityCodeType Type { get; set; }
Property Value
Type Description
SecurityCodeTypeGets or sets the number of input.

Methods

BuildRenderTreeLink to this section

Declaration
protected override void BuildRenderTree(Rendering.RenderTreeBuilder __builder)
Parameters
Type Name Description
Rendering.RenderTreeBuilder __builder

DisposeLink to this section

Declaration
public override void Dispose()

FocusAsyncLink to this section

Declaration
public override ValueTask FocusAsync()
Returns
Type Description
ValueTask

GetComponentCssClassLink to this section

Declaration
protected override string GetComponentCssClass()
Returns
Type Description
string

OnAfterRenderAsyncLink to this section

Declaration
protected override Task OnAfterRenderAsync(bool firstRender)
Parameters
Type Name Description
bool firstRender
Returns
Type Description
Task

OnValueChangeLink to this section

Called when value changed.

Declaration
public Task OnValueChange(string value)
Parameters
Type Name Description
string value The value.
Returns
Type Description
Task

SetParametersAsyncLink to this section

Declaration
public override Task SetParametersAsync(ParameterView parameters)
Parameters
Type Name Description
ParameterView parameters
Returns
Type Description
Task
An error has occurred. This app may no longer respond until reloaded. Reload 🗙