WinForms

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class MaskSatisfiedEventArgs

    Show / Hide Table of Contents

    Class MaskSatisfiedEventArgs

    This class is used to send event data for a ValidationError event.

    Inheritance
    System.Object
    System.EventArgs
    MaskSatisfiedEventArgs
    Inherited Members
    System.EventArgs.Empty
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.Windows.Forms.Tools
    Assembly: Syncfusion.Shared.Base.dll
    Syntax
    public class MaskSatisfiedEventArgs : EventArgs
    Remarks

    The required pieces of information for the ValidationError event are the invalid text and the position of the error text within the invalid text.

    Constructors

    MaskSatisfiedEventArgs(String, Int32)

    Creates an object of type ValidationErrorArgs.

    Declaration
    public MaskSatisfiedEventArgs(string invalidText, int startPosition)
    Parameters
    Type Name Description
    System.String invalidText

    The invalid text that would have resulted if this error had not been intercepted.

    System.Int32 startPosition

    The index position with the invalid text where the change occurred.

    Properties

    InvalidText

    Returns the invalid text as it would have been if the error had not intercepted it.

    Declaration
    public string InvalidText { get; }
    Property Value
    Type Description
    System.String

    StartPosition

    Returns the location of the invalid input within the invalid text.

    Declaration
    public int StartPosition { get; }
    Property Value
    Type Description
    System.Int32
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved