WinForms

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

    Show / Hide Table of Contents

    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.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 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 Description
    System.Boolean

    CurrentCharacter

    Returns the current character.

    Declaration
    public char CurrentCharacter { get; }
    Property Value
    Type Description
    System.Char

    CurrentIndex

    Returns the current position. It will be a valid mask position.

    Declaration
    public int CurrentIndex { get; }
    Property Value
    Type Description
    System.Int32

    CurrentMaskCharacter

    Returns the current Mask Character.

    Declaration
    public char CurrentMaskCharacter { get; }
    Property Value
    Type Description
    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 Description
    System.Boolean
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved