Class InputEventArgs
Provides data for the SfTextBox input event that occurs during real-time text input.
Inheritance
Namespace: Syncfusion.Blazor.Toolkit.Inputs
Assembly: Syncfusion.Blazor.Toolkit.dll
Syntax
public class InputEventArgs : Object
Remarks
This event is triggered while the user is typing, providing immediate feedback for each character entered or deleted.
Constructors
InputEventArgs()
Declaration
public InputEventArgs()
Properties
Event
Gets or sets the event parameters from the TextBox component.
Declaration
public EventArgs Event { get; set; }
Property Value
| Type | Description |
|---|---|
| System.EventArgs | An System.EventArgs object that contains the event data associated with the TextBox input event. |
Remarks
This property provides details about the input event, such as event source and timestamp information.
PreviousValue
Gets or sets the previously updated value of the TextBox before the current input change.
Declaration
public string PreviousValue { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | A System.String representing the previous value before the current keystroke or input action, or null if no previous value exists. |
Remarks
This property enables detection of incremental changes by comparing the previous and current values.
Value
Gets or sets the current entered value of the TextBox during input.
Declaration
public string Value { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | A System.String representing the current value being entered after the latest input action, or null if no value is entered. |
Remarks
This property reflects the value in real-time as the user types. It may be empty or null if the input field is cleared.