Error Message in UWP Calculator (SfCalculator)

SfCalculator provides ErrorMessageDisplayed event to notify invalid input and syntax errors. Default error message is “Invalid input” and it can be modified by setting the event argument NewErrorMessage.

<input:SfCalculator ErrorMessageDisplayed="calculator_ErrorMessageDisplayed"/>
private void calculator_ErrorMessageDisplayed(object Sender, Syncfusion.UI.Xaml.Controls.Input.ErrorDisplayArgs args)

{

args.NewErrorMessage = "Syntax Error";

}
Private Sub calculator_ErrorMessageDisplayed(ByVal Sender As Object, ByVal args As Syncfusion.UI.Xaml.Controls.Input.ErrorDisplayArgs)


args.NewErrorMessage = "Syntax Error"

End Sub