An on-screen virtual keyboard for touch HMI and kiosk scenarios. Attaches to the inputs rendered inside it and opens automatically when one of them gets focus. Key presses insert text in the focused input and raise the native input and change events so @bind-Value of the wrapped components updates as if typed on a physical keyboard.
IComponent
IHandleEvent
IHandleAfterRender
RadzenComponent.GetIdAttribute
RadzenComponent.RaiseContextMenu
RadzenComponent.RaiseMouseEnter
RadzenComponent.AddContextMenu
RadzenComponent.RaiseMouseLeave
RadzenComponent.OnBecameInvisible
RadzenComponent.DefaultCulture
RadzenComponent.DefaultUICulture
RadzenComponent.IsJSRuntimeAvailable
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
public class RadzenVirtualKeyboard : RadzenComponent, IComponent, IHandleEvent, IHandleAfterRender<RadzenVirtualKeyboard>
<RadzenTextBox @bind-Value=@name />
<RadzenNumeric @bind-Value=@quantity />
</RadzenVirtualKeyboard>An on-screen virtual keyboard for touch HMI and kiosk scenarios. Attaches to the inputs rendered inside it and opens automatically when one of them gets focus. Key presses insert text in the focused input and raise the native input and change events so @bind-Value of the wrapped components updates as if typed on a physical keyboard.
public RadzenVirtualKeyboard()Gets or sets the aria-label of the keyboard panel.
public string AriaLabel { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the aria-label of the keyboard panel. |
Gets or sets the aria-label of the backspace key.
public string BackspaceAriaLabel { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the aria-label of the backspace key. |
Gets or sets the content containing the inputs the keyboard attaches to.
public RenderFragment ChildContent { get; set; }
| Type | Description |
|---|---|
| RenderFragment | Gets or sets the content containing the inputs the keyboard attaches to. |
Gets or sets the aria-label of the clear key.
public string ClearAriaLabel { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the aria-label of the clear key. |
Gets or sets the aria-label of the close key.
public string CloseAriaLabel { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the aria-label of the close key. |
Gets or sets the text inserted by the {decimal} key. The decimal separator of Culture is used by default.
public string DecimalSeparator { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the text inserted by the {decimal} key. The decimal separator of Culture is used by default. |
Gets or sets the aria-label of the enter key.
public string EnterAriaLabel { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the aria-label of the enter key. |
Gets or sets a custom key layout which replaces the default one for the current Type. Use the Qwerty, Qwertz and Azerty presets for locale-aware layouts or String[]) to define your own keys.
public VirtualKeyboardLayout Layout { get; set; }
| Type | Description |
|---|---|
| VirtualKeyboardLayout | Gets or sets a custom key layout which replaces the default one for the current Type. Use the Qwerty, Qwertz and Azerty presets for locale-aware layouts or String[]) to define your own keys. |
Gets or sets where the keyboard is displayed. Set to Bottom by default.
public VirtualKeyboardPlacement Placement { get; set; }
| Type | Description |
|---|---|
| VirtualKeyboardPlacement | Gets or sets where the keyboard is displayed. Set to Bottom by default. |
Gets or sets the aria-label of the shift key.
public string ShiftAriaLabel { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the aria-label of the shift key. |
Gets or sets the aria-label of the space key.
public string SpaceAriaLabel { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the aria-label of the space key. |
Gets or sets the aria-label of the tab key.
public string TabAriaLabel { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the aria-label of the tab key. |
Gets or sets the set of keys displayed by the keyboard. Set to Alphanumeric by default.
public VirtualKeyboardType Type { get; set; }
| Type | Description |
|---|---|
| VirtualKeyboardType | Gets or sets the set of keys displayed by the keyboard. Set to Alphanumeric by default. |
protected override void BuildRenderTree(Rendering.RenderTreeBuilder __builder)
| Type | Name | Description |
|---|---|---|
| Rendering.RenderTreeBuilder | __builder |
protected override string GetComponentCssClass()
| Type | Description |
|---|---|
| string |
protected override Task OnAfterRenderAsync(bool firstRender)
| Type | Name | Description |
|---|---|---|
| bool | firstRender |
| Type | Description |
|---|---|
| Task |
public override Task SetParametersAsync(ParameterView parameters)
| Type | Name | Description |
|---|---|---|
| ParameterView | parameters |
| Type | Description |
|---|---|
| Task |