Class MaskCustomValidateArgs
Provides data for an event that can be handled by a subscriber and overrides the events default behavior.
Inheritance
System.Object
System.EventArgs
MaskCustomValidateArgs
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 MaskCustomValidateArgs : EventArgs
Constructors
MaskCustomValidateArgs()
Overloaded. Initializes a new instance of the MaskCustomValidationArgs class with the Handled property set to False.
Declaration
public MaskCustomValidateArgs()
MaskCustomValidateArgs(Boolean, Boolean)
Initializes a new instance of the SyncfusionHandledEventArgs class with the Handled and Accepted properties set to the given value.
Declaration
public MaskCustomValidateArgs(bool handled, bool accepted)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | handled | |
System.Boolean | accepted |
MaskCustomValidateArgs(Int32, Char, Char)
Declaration
public MaskCustomValidateArgs(int currentIndex, char currentCharacter, char currentMaskCharacter)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | currentIndex | |
System.Char | currentCharacter | |
System.Char | currentMaskCharacter |
Properties
Accepted
Indicates whether the event has been handled and no further processing of the event should happen.
Declaration
public bool Accepted { get; set; }
Property Value
Type |
---|
System.Boolean |
CurrentCharacter
Returns the current character.
Declaration
public char CurrentCharacter { get; }
Property Value
Type |
---|
System.Char |
CurrentIndex
Returns the current position. It will be a valid mask position.
Declaration
public int CurrentIndex { get; }
Property Value
Type |
---|
System.Int32 |
CurrentMaskCharacter
Returns the current Mask Character.
Declaration
public char CurrentMaskCharacter { get; }
Property Value
Type |
---|
System.Char |
Handled
Indicates whether the event has been handled and no further processing of the event should happen.
Declaration
public bool Handled { get; set; }
Property Value
Type |
---|
System.Boolean |