alexa
menu

WinForms

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

    Show / Hide Table of Contents

    Class MaskCharTypes

    The various valid masks supported by the control.

    Inheritance
    System.Object
    MaskCharTypes
    Namespace: Syncfusion.Windows.Forms.Tools
    Assembly: Syncfusion.Shared.Base.dll
    Syntax
    public sealed class MaskCharTypes : Enum

    Fields

    maskCharAlphaNumericOptional

    Alphanumeric character placeholder (entry optional)'a'

    Declaration
    public const MaskCharTypes maskCharAlphaNumericOptional
    Field Value
    Type
    MaskCharTypes

    maskCharAplhaNumericRequired

    Alphanumeric character placeholder 'A' (entry required). For example: a z, A Z, or 0 9.

    Declaration
    public const MaskCharTypes maskCharAplhaNumericRequired
    Field Value
    Type
    MaskCharTypes

    maskCharCharacterOptional

    Character or space placeholder (entry optional) 'C' This operates exactly like the & placeholder, and ensures compatibility with Microsoft Access.

    Declaration
    public const MaskCharTypes maskCharCharacterOptional
    Field Value
    Type
    MaskCharTypes

    maskCharCharacterRequired

    Character placeholder & Valid values for this placeholder are ANSI characters in the following ranges: 32-126 and 128-255.

    Declaration
    public const MaskCharTypes maskCharCharacterRequired
    Field Value
    Type
    MaskCharTypes

    maskCharDateSep

    Date separator '/' The actual character used is the one specified as the date separator in your international settings. This character is treated as a literal for masking purposes.

    Declaration
    public const MaskCharTypes maskCharDateSep
    Field Value
    Type
    MaskCharTypes

    maskCharDecimal

    Decimal placeholder '.' The actual character used is the one specified as the decimal placeholder in your international settings. This character is treated as a literal for masking purposes.

    Declaration
    public const MaskCharTypes maskCharDecimal
    Field Value
    Type
    MaskCharTypes

    maskCharDigitOptional

    Digit placeholder (entry optional). For example: 0 9. '9'

    Declaration
    public const MaskCharTypes maskCharDigitOptional
    Field Value
    Type
    MaskCharTypes

    maskCharDigitRequired

    Digit placeholder '#'. Numeric and white space

    Declaration
    public const MaskCharTypes maskCharDigitRequired
    Field Value
    Type
    MaskCharTypes

    maskCharEscape

    Escape '' Treat the next character in the mask string as a literal. This allows you to include the '#', &, 'A', and '?' characters in the mask. This character is treated as a literal for masking purposes.

    Declaration
    public const MaskCharTypes maskCharEscape
    Field Value
    Type
    MaskCharTypes

    maskCharHexaDecimalOptional

    Hexadecimal placeholder. For example: A9 EF

    Declaration
    public const MaskCharTypes maskCharHexaDecimalOptional
    Field Value
    Type
    MaskCharTypes

    maskCharHexaDecimalRequired

    Hexadecimal placeholder. For example: A9EF

    Declaration
    public const MaskCharTypes maskCharHexaDecimalRequired
    Field Value
    Type
    MaskCharTypes

    maskCharLetterOptional

    Letter placeholder. For example: a z or A Z 'y'

    Declaration
    public const MaskCharTypes maskCharLetterOptional
    Field Value
    Type
    MaskCharTypes

    maskCharLetterRequired

    Letter placeholder. For example: a z or A Z '?'

    Declaration
    public const MaskCharTypes maskCharLetterRequired
    Field Value
    Type
    MaskCharTypes

    maskCharLowercase

    Lowercase < Convert all the characters that follow to lowercase.

    Declaration
    public const MaskCharTypes maskCharLowercase
    Field Value
    Type
    MaskCharTypes

    maskCharThousands

    Thousands separator ',' The actual character used is the one specified as the thousands separator in your international settings. This character is treated as a literal for masking purposes.

    Declaration
    public const MaskCharTypes maskCharThousands
    Field Value
    Type
    MaskCharTypes

    maskCharTimeSep

    Time separator ':' The actual character used is the one specified as the time separator in your international settings. This character is treated as a literal for masking purposes.

    Declaration
    public const MaskCharTypes maskCharTimeSep
    Field Value
    Type
    MaskCharTypes

    maskCharUppercase

    Uppercase > Convert all the characters that follow to uppercase.

    Declaration
    public const MaskCharTypes maskCharUppercase
    Field Value
    Type
    MaskCharTypes
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved