Supplies information about a KeyDown event that is being raised. Wraps the original KeyboardEventArgs and allows the handler to prevent the default ArrowUp/ArrowDown increment/decrement behavior.
Object
Namespace: Radzen
Assembly: Radzen.Blazor.dll
public class NumericKeyboardEventArgsSupplies information about a KeyDown event that is being raised. Wraps the original KeyboardEventArgs and allows the handler to prevent the default ArrowUp/ArrowDown increment/decrement behavior.
public NumericKeyboardEventArgs()Gets a value indicating whether the default action has been prevented.
public bool IsDefaultPrevented { get; }
| Type | Description |
|---|---|
| bool | Gets a value indicating whether the default action has been prevented. |
Gets the original KeyboardEventArgs raised by the underlying input element.
public KeyboardEventArgs OriginalEvent { get; set; }
| Type | Description |
|---|---|
| KeyboardEventArgs | Gets the original KeyboardEventArgs raised by the underlying input element. |
Prevents the default action (ArrowUp/ArrowDown increment/decrement) from occurring.
public void PreventDefault()