System.Windows.Forms.MaskedTextBox: Method Members

The methods of System.Windows.Forms.MaskedTextBox are listed below. For a list of all members, see the MaskedTextBox Members list.

See Also: Inherited members from System.Windows.Forms.TextBoxBase

Public Methods

ClearUndo()

Clears information about the most recent operation from the undo buffer of the text box. This method is not supported by System.Windows.Forms.MaskedTextBox.

override
GetCharFromPosition(System.Drawing.Point) : char
Documentation for this section has not yet been entered.
override
GetCharIndexFromPosition(System.Drawing.Point) : int
Documentation for this section has not yet been entered.
GetFirstCharIndexFromLine(int) : int

Retrieves the index of the first character of a given line. This method is not supported by System.Windows.Forms.MaskedTextBox.

GetFirstCharIndexOfCurrentLine() : int

Retrieves the index of the first character of the current line. This method is not supported by System.Windows.Forms.MaskedTextBox.

override
GetLineFromCharIndex(int) : int

Retrieves the line number from the specified character position within the text of the control. This method is not supported by System.Windows.Forms.MaskedTextBox.

override
GetPositionFromCharIndex(int) : System.Drawing.Point
Documentation for this section has not yet been entered.
ScrollToCaret()

Scrolls the contents of the control to the current caret position. This method is not supported by System.Windows.Forms.MaskedTextBox.

override
ToString() : string

Returns a string that represents the current masked text box. This method overrides TextBoxBase.ToString.

Undo()

Undoes the last edit operation in the text box. This method is not supported by System.Windows.Forms.MaskedTextBox.

ValidateText() : object

Converts the user input string to an instance of the validating type.

Protected Methods

override
CreateHandle()

Creates a handle for the control.

override
IsInputKey(Keys) : bool

Determines whether the specified key is an input key or a special key that requires preprocessing.

override
OnBackColorChanged(EventArgs)

Occurs when the value of the Control.BackColor property changes.

override
OnHandleCreated(EventArgs)

Raises the Control.HandleCreated event.

OnIsOverwriteModeChanged(EventArgs)

Raises the MaskedTextBox.IsOverwriteModeChanged event.

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)

Raises the MaskedTextBox.MaskChanged event.

override
OnMultilineChanged(EventArgs)

Typically raises the MaskedTextBox.MultilineChanged event, but disabled for System.Windows.Forms.MaskedTextBox.

OnTextAlignChanged(EventArgs)

Raises the MaskedTextBox.TextAlignChanged event.

override
OnTextChanged(EventArgs)

Raises the Control.TextChanged event.

override
OnValidating(System.ComponentModel.CancelEventArgs)

Raises the Control.Validating event.

override
ProcessCmdKey(ref Message, Keys) : bool
Documentation for this section has not yet been entered.
override
ProcessKeyMessage(ref Message) : bool
Documentation for this section has not yet been entered.
override
WndProc(ref Message)
Documentation for this section has not yet been entered.