How to restrict the default validation in WinUI Masked TextBox

19 Dec 20231 minute to read

The Masked TextBox control provides the ability to validate the input according to the completion of masked input. By default, validation is enabled in the Masked TextBox control. However, you can disable the validation by assigning true to the IsValid property of the ValueChanging event.

<syncfusion:SfMaskedTextBox x:Name="maskedTextBox"
private void maskedTextBox_ValueChanging(object sender, MaskedTextBoxValueChangingEventArgs e)
    e.IsValid = true;

Validation support restriction in WinUI Masked TextBox