# .NET MAUI MaskedEntry Events

The MaskedEntry exposes a set of events.

* `ValueChanging`—Occurs when the editing value is changing. Through the `MaskedEntryValueChangingEventArgs` you can set the following properties:

  * `NewValue`—Gets or sets the new value that will be set to the control.
  * `IsValid`—Gets or sets a value indicating whether the new value is valid according to internal (mask, regex) and external (application) validation.
  * `ValidationErrors`—Gets a list of the internal validation errors.
  * `ValidationMessage`—Gets or sets a validation message for the end user.
  * `Cancel`—Gets or sets a value indicating whether the event will be canceled.

* `ValueChanged`—Occurs when the editing value has been changed. `ValueChanged` is fired if the `ValueChanging` event is not canceled. Through the `MaskedEntryValueChangedEventArgs` you can set the following properties:

  * `Value`—Specifies the new value set to the control.
  * `Text`—Specifies the new value with the formatting applied.
  * `IsValid`—Indicates whether the new value is valid according to internal (mask, regex) and external (application) validation.
  * `ValidationMessage`—Defines a validation message for the end user.

> For the MaskedEntry Events example, go to the [SDKBrowser Demo Application](https://www.telerik.com/maui-ui/documentation/demos-and-sample-apps/sdkbrowser-app) and navigate to MaskedEntry -> Features category.

## See Also

* [Getting Started](https://www.telerik.com/maui-ui/documentation/controls/maskedentry/getting-started)
* [Mask Types](https://www.telerik.com/maui-ui/documentation/controls/maskedentry/mask-types/overview)
* [Validation](https://www.telerik.com/maui-ui/documentation/controls/maskedentry/validation)
* [Null Values Support](https://www.telerik.com/maui-ui/documentation/controls/maskedentry/value#null-value-support})
* [Globalization](https://www.telerik.com/maui-ui/documentation/controls/maskedentry/globalization)
