Skip to main content
Version: 3.5

MaskFormat

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

Defines how to format the text inside of a MaskedTextBox control.

public enum MaskFormat : Enum

Fields

NameDescription
ExcludePromptAndLiteralsReturn only the text entered by the user.
IncludeLiteralsReturn the text entered by the user as well as any literal characters defined in the mask.
IncludePromptReturn the text entered by the user as well as any instances of the prompt character.
IncludePromptAndLiteralsReturn the text entered by the user as well as any literal characters defined in the mask and any instances of the prompt character.

Used By

NameDescription
DateTimePicker.TextMaskFormatSince 3.2.8 Returns or sets a value that determines whether literals and prompt characters are included in the Text value when the DateTimePicker also specifies a Mask.
MaskedTextBox.TextMaskFormatReturns or sets a value that determines whether literals and prompt characters are included in the formatted string.
DataGridViewMaskedTextBoxCell.TextMaskFormatReturns or sets a value that determines whether literals and prompt characters are included in the formatted string.
DataGridViewMaskedTextBoxColumn.TextMaskFormatReturns or sets a value that determines whether literals and prompt characters are included in the formatted string.