Class StringValidationEventArgs
EventArgs used for StringValidationCompleted event in MaskedTextBox.
Inheritance
System.Object
System.EventArgs
StringValidationEventArgs
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.Shared
Assembly: Syncfusion.Shared.Wpf.dll
Syntax
public class StringValidationEventArgs : EventArgs
Constructors
StringValidationEventArgs()
Initializes a new instance of the StringValidationEventArgs class.
Declaration
public StringValidationEventArgs()
StringValidationEventArgs(Boolean, Boolean, String, String)
Initializes a new instance of the StringValidationEventArgs class.
Declaration
public StringValidationEventArgs(bool bCancel, bool bIsValidInput, string message, string validationString)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | bCancel | if set to |
System.Boolean | bIsValidInput | if set to |
System.String | message | The message. |
System.String | validationString | The validation string. |
StringValidationEventArgs(Boolean, String, String)
Initializes a new instance of the StringValidationEventArgs class.
Declaration
public StringValidationEventArgs(bool bIsValidInput, string message, string validationString)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | bIsValidInput | if set to |
System.String | message | The message. |
System.String | validationString | The validation string. |
Properties
Cancel
Gets or sets a value indicating whether the event should be canceled.
Declaration
public bool Cancel { get; set; }
Property Value
Type |
---|
System.Boolean |
IsValidInput
Gets a value indicating whether the formatted input string has successfully passed RegEx validation.
Declaration
public bool IsValidInput { get; }
Property Value
Type |
---|
System.Boolean |
Message
Gets a text message describing the conversion process.
Declaration
public string Message { get; }
Property Value
Type |
---|
System.String |
ValidationString
Gets the string that the formatted input string is being validated against.
Declaration
public string ValidationString { get; }
Property Value
Type |
---|
System.String |