The members of System.Windows.Forms.MaskedTextBox are listed below.
See Also: Inherited members from System.Windows.Forms.TextBoxBase
Initializes a new instance of the System.Windows.Forms.MaskedTextBox class using defaults. | ||
Initializes a new instance of the System.Windows.Forms.MaskedTextBox class using the specified custom mask language provider. | ||
Initializes a new instance of the System.Windows.Forms.MaskedTextBox class using the specified input mask. |
AcceptsTab | bool.
Gets or sets a value determining how TAB keys are handled for multiline configurations. This property is not supported by System.Windows.Forms.MaskedTextBox. | |
AllowPromptAsInput | bool.
Gets or sets a value indicating whether MaskedTextBox.PromptChar can be entered as valid data by the user. | |
AsciiOnly | bool.
Gets or sets a value indicating whether the System.Windows.Forms.MaskedTextBox control accepts characters outside of the ASCII character set. | |
BeepOnError | bool.
Gets or sets a value indicating whether the masked text box control raises the system beep for each user key stroke that it rejects. | |
[read-only] | CanUndo | bool.
Gets a value indicating whether the user can undo the previous operation. This property is not supported by System.Windows.Forms.MaskedTextBox. |
Culture | System.Globalization.CultureInfo.
Gets or sets the culture information associated with the masked text box. | |
CutCopyMaskFormat | MaskFormat.
Gets or sets a value that determines whether literals and prompt characters are copied to the clipboard. | |
FormatProvider | IFormatProvider.
Gets or sets the IFormatProvider to use when performing type validation. | |
HidePromptOnLeave | bool.
Gets or sets a value indicating whether the prompt characters in the input mask are hidden when the masked text box loses focus. | |
InsertKeyMode | InsertKeyMode.
Gets or sets the text insertion mode of the masked text box control. | |
[read-only] | IsOverwriteMode | bool.
Gets a value that specifies whether new user input overwrites existing input. |
Lines | string[].
Gets or sets the lines of text in multiline configurations. This property is not supported by System.Windows.Forms.MaskedTextBox. | |
Mask | string.
Gets or sets the input mask to use at run time. | |
[read-only] | MaskCompleted | bool.
Gets a value indicating whether all required inputs have been entered into the input mask. |
[read-only] | MaskedTextProvider | System.ComponentModel.MaskedTextProvider.
Gets a clone of the mask provider associated with this instance of the masked text box control. |
[read-only] | MaskFull | bool.
Gets a value indicating whether all required and optional inputs have been entered into the input mask. |
override | MaxLength | int.
Gets or sets the maximum number of characters the user can type or paste into the text box control. This property is not supported by System.Windows.Forms.MaskedTextBox. |
override | Multiline | bool.
Gets or sets a value indicating whether this is a multiline text box control. This property is not fully supported by System.Windows.Forms.MaskedTextBox. |
PasswordChar | char.
Gets or sets the character to be displayed in substitute for user input. | |
PromptChar | char.
Gets or sets the character used to represent the absence of user input in System.Windows.Forms.MaskedTextBox. | |
ReadOnly | bool.
Gets or sets a value indicating whether text in the text box is read-only. | |
RejectInputOnFirstFailure | bool.
Gets or sets a value indicating whether the parsing of user input should stop after the first invalid character is reached. | |
ResetOnPrompt | bool.
Gets or sets a value that determines how an input character that matches the prompt character should be handled. | |
ResetOnSpace | bool.
Gets or sets a value that determines how a space input character should be handled. | |
override | SelectedText | string.
Gets or sets the current selection in the System.Windows.Forms.MaskedTextBox control. |
SkipLiterals | bool.
Gets or sets a value indicating whether the user is allowed to reenter literal values. | |
override | Text | string.
Gets or sets the text as it is currently displayed to the user. |
TextAlign | HorizontalAlignment.
Gets or sets how text is aligned in a masked text box control. | |
[read-only] override | TextLength | int.
Gets the length of the displayed text. |
TextMaskFormat | MaskFormat.
Gets or sets a value that determines whether literals and prompt characters are included in the formatted string. | |
UseSystemPasswordChar | bool.
Gets or sets a value indicating whether the operating system-supplied password character should be used. | |
ValidatingType | Type.
Gets or sets the data type used to verify the data input by the user. | |
WordWrap | bool.
Gets or sets a value indicating whether a multiline text box control automatically wraps words to the beginning of the next line when necessary. This property is not supported by System.Windows.Forms.MaskedTextBox. |
[read-only] override | CreateParams | CreateParams.
Gets the required creation parameters when the control handle is created. |
ClearUndo()
| ||
override | GetCharFromPosition(System.Drawing.Point)Documentation for this section has not yet been entered. | |
override | GetCharIndexFromPosition(System.Drawing.Point)Documentation for this section has not yet been entered. | |
GetFirstCharIndexFromLine(int)
| ||
GetFirstCharIndexOfCurrentLine()
| ||
override | GetLineFromCharIndex(int)
| |
override | GetPositionFromCharIndex(int)Documentation for this section has not yet been entered. | |
ScrollToCaret()
| ||
override | ToString()
| |
Undo()
| ||
ValidateText()
|
override | CreateHandle()
| |
override | IsInputKey(Keys)
| |
override | OnBackColorChanged(EventArgs)
| |
override | OnHandleCreated(EventArgs)
| |
OnIsOverwriteModeChanged(EventArgs)
| ||
override | OnKeyDown(KeyEventArgs)Documentation for this section has not yet been entered. | |
override | OnKeyPress(KeyPressEventArgs)Documentation for this section has not yet been entered. | |
override | OnKeyUp(KeyEventArgs)Documentation for this section has not yet been entered. | |
OnMaskChanged(EventArgs)
| ||
override | OnMultilineChanged(EventArgs)
| |
OnTextAlignChanged(EventArgs)
| ||
override | OnTextChanged(EventArgs)
| |
override | OnValidating(System.ComponentModel.CancelEventArgs)
| |
override | ProcessCmdKey(ref Message, Keys)Documentation for this section has not yet been entered. | |
override | ProcessKeyMessage(ref Message)Documentation for this section has not yet been entered. | |
override | WndProc(ref Message)Documentation for this section has not yet been entered. |
AcceptsTabChanged |
Occurs when the value of the MaskedTextBox.AcceptsTab property has changed. This event is not raised by System.Windows.Forms.MaskedTextBox. | |
IsOverwriteModeChanged |
Occurs after the insert mode has changed. | |
MaskChanged |
Occurs after the input mask is changed. | |
MaskInputRejected |
Occurs when the user's input or assigned character does not match the corresponding format element of the input mask. | |
MultilineChanged |
Typically occurs when the value of the MaskedTextBox.Multiline property has changed; however, this event is not raised by System.Windows.Forms.MaskedTextBox. | |
TextAlignChanged |
Occurs when the text alignment is changed. | |
TypeValidationCompleted |
Occurs when System.Windows.Forms.MaskedTextBox has finished parsing the current value using the MaskedTextBox.ValidatingType property. |