Enum 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.
Namespace: Syncfusion.Windows.Controls.Input
Assembly: Syncfusion.SfInput.Wpf.dll
Syntax
public enum MaskFormat
Fields
| Name | Description |
|---|---|
| ExcludePromptAndLiterals | Return only the user-entered characters; prompt placeholders and formatting literals are removed. |
| IncludeLiterals | Return the input with formatting literals (for example separators) preserved but without prompt placeholder characters. |
| IncludePrompt | Return the input including prompt placeholder characters but excluding formatting literals. |
| IncludePromptAndLiterals | Return the fully formatted string including both prompt placeholders and literal characters. |