alexa
menu

WPF

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

    Show / Hide Table of Contents

    Class MaskFormat

    Specifies how to format the text inside the MaskedTextBox

    Inheritance
    System.Object
    MaskFormat
    Namespace: Syncfusion.Windows.Shared
    Assembly: Syncfusion.Shared.WPF.dll
    Syntax
    public sealed class MaskFormat : Enum

    Fields

    ExcludePromptAndLiterals

    Return only text input by the user.

    Declaration
    public const MaskFormat ExcludePromptAndLiterals
    Field Value
    Type
    MaskFormat

    IncludeLiterals

    Return text input by the user as well as any literal characters defined in the mask.

    Declaration
    public const MaskFormat IncludeLiterals
    Field Value
    Type
    MaskFormat

    IncludePrompt

    Return text input by the user as well as any instances of the prompt character.

    Declaration
    public const MaskFormat IncludePrompt
    Field Value
    Type
    MaskFormat

    IncludePromptAndLiterals

    Return text input by the user as well as any literal characters defined in the mask and any instances of the prompt character.

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