New to Telerik UI for .NET MAUI? Start a free 30-day trial
.NET MAUI MaskedEntry Events
The MaskedEntry exposes a set of events.
-
ValueChanging
—Occurs when the editing value is changing. Through theMaskedEntryValueChangingEventArgs
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 theValueChanging
event is not canceled. Through theMaskedEntryValueChangedEventArgs
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 and navigate to MaskedEntry -> Features category.