menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class MaskChangeEventArgs - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class MaskChangeEventArgs

    Provides information about an ValueChange event being raised.

    Inheritance
    System.Object
    MaskBlurEventArgs
    MaskChangeEventArgs
    Inherited Members
    MaskBlurEventArgs.Container
    MaskBlurEventArgs.MaskedValue
    MaskBlurEventArgs.Value
    Namespace: Syncfusion.Blazor.Inputs
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class MaskChangeEventArgs : MaskBlurEventArgs
    Remarks

    This event argument class extends MaskBlurEventArgs and is specifically used for value change events in the MaskedTextBox component. It includes all properties from the base class plus additional information about whether the change was triggered by user interaction or programmatic updates.

    Constructors

    MaskChangeEventArgs()

    Declaration
    public MaskChangeEventArgs()

    Properties

    IsInteracted

    Gets a value indicating whether the MaskedTextBox value was changed by user interaction.

    Declaration
    public bool IsInteracted { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if the MaskedTextBox value has been changed through user interaction such as typing, pasting, or other input methods; otherwise, false if the change was made programmatically.

    Remarks

    The IsInteracted property is crucial for distinguishing between user-initiated changes and programmatic updates. This helps in implementing conditional logic, validation rules, or event handling that should only respond to actual user input rather than code-driven value changes.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved