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.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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 |
---|
System.String |
StartPosition
Returns the location of the invalid input within the invalid text.
Declaration
public int StartPosition { get; }
Property Value
Type |
---|
System.Int32 |