skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • Resources Hub
    • .NET MAUI Tutorials and Learning
    • First Steps
    • Submit a Ticket
    • FAQs

    Docs & Resources

    • Docs
    • Demos
    • Migrate to .NET MAUI
    • Forums
    • Videos
    • Blogs

    Productivity and Design Tools

    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class MaskedEntryValueChangingEventArgs

Provides data for the value changing event of a masked entry control. This class extends System.EventArgs and implements Telerik.Maui.MaskedInput.IMaskValueChangingContext to provide comprehensive validation and cancellation capabilities.

Inheritance
System.Object
MaskedEntryValueChangingEventArgs
Namespace: Telerik.Maui.MaskedEntry
Assembly: Telerik.Maui.Core.dll

Syntax

public class MaskedEntryValueChangingEventArgs : EventArgs, IMaskValueChangingContext

Constructors

MaskedEntryValueChangingEventArgs()

Initializes a new instance of the MaskedEntryValueChangingEventArgs class.

Declaration
public MaskedEntryValueChangingEventArgs()

Properties

Cancel

Gets or sets a value indicating whether changing the Value should be cancelled.

Declaration
public bool Cancel { get; set; }
Property Value
System.Boolean

true if the value change should be cancelled; otherwise, false.

IsMaskCompleted

Gets a value indicating whether all required inputs have been entered into the formatted string. This property is meaningful only in a Text MaskedEntry.

Declaration
public bool IsMaskCompleted { get; }
Property Value
System.Boolean

true if the mask is completed; otherwise, false.

IsValid

Gets or sets a value indicating whether the NewValue is considered valid according to internal (mask, regex) or external (application) validation.

Declaration
public bool IsValid { get; set; }
Property Value
System.Boolean

true if the new value is valid; otherwise, false.

NewValue

Gets or sets the value that will be given to the UI masked view. The original value of this property was processed by the internal mask engine, but the user is allowed to change this value if needed.

Declaration
public object NewValue { get; set; }
Property Value
System.Object

The new value to be applied to the masked entry control.

ValidationErrors

Gets the collection of validation errors that occurred during value validation.

Declaration
public IList<string> ValidationErrors { get; }
Property Value
System.Collections.Generic.IList<System.String>

An System.Collections.Generic.IList<> of System.String containing validation error messages.

ValidationMessage

Gets or sets a ValidationMessage for the end user. If no custom message is set, returns the first validation error from ValidationErrors if available.

Declaration
public string ValidationMessage { get; set; }
Property Value
System.String

A System.String containing the validation message to display to the user.

Extension Methods

AndroidTypeConversionExtensions.ToJavaObject(Object)
Sample Applications
  • Controls Samples App
  • Crypto Tracker App
Support Resources
  • .NET MAUI SDKBrowser App
Community
  • Forums
  • Blogs
  • Feedback Portal
  • YouTube Channel

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.