Defines the keys of a RadzenVirtualKeyboard section as rows of key tokens. A token is either a literal string inserted in the focused input (single characters, units of measure, plant-specific symbols) or one of the special tokens {backspace}, {enter}, {shift}, {space}, {tab}, {clear}, {close} and {decimal} (the culture-aware decimal separator).
Object
Namespace: Radzen
Assembly: Radzen.Blazor.dll
public class VirtualKeyboardLayoutvar layout = VirtualKeyboardLayout.FromRows("7 8 9", "4 5 6", "1 2 3", "0 {decimal} °C", "{clear} {backspace} {enter}");Defines the keys of a RadzenVirtualKeyboard section as rows of key tokens. A token is either a literal string inserted in the focused input (single characters, units of measure, plant-specific symbols) or one of the special tokens {backspace}, {enter}, {shift}, {space}, {tab}, {clear}, {close} and {decimal} (the culture-aware decimal separator).
public VirtualKeyboardLayout()Gets an AZERTY keyboard layout with a digit row.
public VirtualKeyboardLayout Azerty { get; }
| Type | Description |
|---|---|
| VirtualKeyboardLayout | Gets an AZERTY keyboard layout with a digit row. |
Gets a numeric keypad layout with a culture-aware decimal separator.
public VirtualKeyboardLayout Numpad { get; }
| Type | Description |
|---|---|
| VirtualKeyboardLayout | Gets a numeric keypad layout with a culture-aware decimal separator. |
Gets a QWERTY keyboard layout with a digit row.
public VirtualKeyboardLayout Qwerty { get; }
| Type | Description |
|---|---|
| VirtualKeyboardLayout | Gets a QWERTY keyboard layout with a digit row. |
Gets a QWERTZ keyboard layout with a digit row.
public VirtualKeyboardLayout Qwertz { get; }
| Type | Description |
|---|---|
| VirtualKeyboardLayout | Gets a QWERTZ keyboard layout with a digit row. |
Gets or sets the rows of key tokens.
public IList<String[]> Rows { get; set; }
| Type | Description |
|---|---|
| IList<String[]> | Gets or sets the rows of key tokens. |
Gets or sets the rows of key tokens displayed while shift is active. Optional. Keys pair with Rows by position; special tokens keep their action regardless of the shift state.
public IList<String[]> ShiftRows { get; set; }
| Type | Description |
|---|---|
| IList<String[]> | Gets or sets the rows of key tokens displayed while shift is active. Optional. Keys pair with Rows by position; special tokens keep their action regardless of the shift state. |
Creates a layout from rows of space-separated key tokens.
public static VirtualKeyboardLayout FromRows(String[] rows)
| Type | Name | Description |
|---|---|---|
| String[] | rows | The rows. Every row is a space-separated list of key tokens e.g. "q w e r t y". |
| Type | Description |
|---|---|
| VirtualKeyboardLayout |
Creates a layout from rows of space-separated key tokens.
public static VirtualKeyboardLayout FromRows(String[] rows, String[] shiftRows)
| Type | Name | Description |
|---|---|---|
| String[] | rows | The rows. Every row is a space-separated list of key tokens e.g. "q w e r t y". |
| String[] | shiftRows |
| Type | Description |
|---|---|
| VirtualKeyboardLayout |