DxMaskedInput<T>.TextChanged Event
Fires when a text editor loses focus after its text has been changed.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v21.1.dll
NuGet Package: DevExpress.Blazor
Declaration
[Parameter]
public Action<string> TextChanged { get; set; }
Parameters
Type | Description |
---|---|
String | A delegate method that accepts the editor’s text as a parameter. |
Remarks
Use the TextChanged event to handle a text change.
<DxMaskedInput @bind-Value="@Value"
Mask="(999) 000-00-00"
TextChanged="@((newValue) => OnTextChanged(newValue))">
</DxMaskedInput>
@code {
string Value { get; set; }
void OnTextChanged(string newValue) {
// Your code
}
}
See Also