Class MaskFormat
Specifies how SfMaskedEdit returns its formatted value when reading the
control's Value. This setting controls whether prompt placeholder
characters and formatting literals (such as separators) are included in
the returned string. Choose a format to match your storage, binding, or
clipboard expectations: exclude both prompts and literals for raw input,
preserve literals for formatted data, include prompts for debugging or
fixed-length output, or include both for a fully formatted representation.
This setting affects value binding and copy/paste behavior.
Inheritance
Namespace: Syncfusion.UI.Xaml.Controls.Input
Assembly: Syncfusion.SfInput.UWP.dll
Syntax
public sealed class MaskFormat : Enum
Fields
ExcludePromptAndLiterals
Return only the user-entered characters; prompt placeholders and formatting literals are removed.
Declaration
public const MaskFormat ExcludePromptAndLiterals
Field Value
| Type |
|---|
| MaskFormat |
IncludeLiterals
Return the input with formatting literals (for example separators) preserved but without prompt placeholder characters.
Declaration
public const MaskFormat IncludeLiterals
Field Value
| Type |
|---|
| MaskFormat |
IncludePrompt
Return the input including prompt placeholder characters but excluding formatting literals.
Declaration
public const MaskFormat IncludePrompt
Field Value
| Type |
|---|
| MaskFormat |
IncludePromptAndLiterals
Return the fully formatted string including both prompt placeholders and literal characters.
Declaration
public const MaskFormat IncludePromptAndLiterals
Field Value
| Type |
|---|
| MaskFormat |