MobileForms Toolkit Documentation

MaskedTextBox Properties

The properties of the MaskedTextBox class are listed below. For a complete list of MaskedTextBox class members, see the MaskedTextBox Members topic.

Public Instance Properties

AcceptsReturn This property is not supported by MaskedTextBox.
AcceptsTab This property is not supported by MaskedTextBox.
Anchor (inherited from Control)Gets or sets the edges of the container to which a control is bound and determines how a control is resized with its parent.
BackColor (inherited from Control)Gets or sets the background color for the control.
BeepOnError Gets or sets a value indicating whether the masked text box control raises the system beep for each user key stroke that it rejects.
BindingContext (inherited from Control)Gets or sets the BindingContext for the control.
BorderStyle (inherited from TextBoxBase)Gets or sets the border type of the text box control.
Bottom (inherited from Control)Gets the distance, in pixels, between the bottom edge of the control and the top edge of its container's client area.
Bounds (inherited from Control)Gets or sets the size and location of the control including its nonclient elements, in pixels, relative to the parent control.
CanUndo (inherited from TextBoxBase)Gets a value indicating whether the user can undo the previous operation in a text box control.
Capture (inherited from Control)Gets or sets a value indicating whether the control has captured the mouse.
ClientRectangle (inherited from Control)Gets the rectangle that represents the client area of the control.
ClientSize (inherited from Control)Gets or sets the height and width of the client area of the control.
ContextMenu (inherited from Control)Gets or sets the shortcut menu associated with the control.
Controls (inherited from Control)Gets the collection of controls contained within the control.
DataBindings (inherited from Control)Gets the data bindings for the control.
Dock (inherited from Control)Gets or sets which control borders are docked to its parent control and determines how a control is resized with its parent.
Enabled (inherited from Control)Gets or sets a value indicating whether the control can respond to user interaction.
Focused (inherited from Control)Gets a value indicating whether the control has input focus.
Font (inherited from Control)Gets or sets the font of the text displayed by the control.
ForeColor (inherited from Control)Gets or sets the foreground color of the control.
FormatProvider Gets or sets the IFormatProvider to use when performing type validation.
Handle (inherited from Control)Gets the window handle that the control is bound to.
Height (inherited from Control)Gets or sets the height of the control.
HidePromptOnLeave Gets or sets a value indicating whether the prompt characters in the input mask are hidden when the masked text box loses focus.
HideSelection (inherited from TextBoxBase)Gets or sets a value indicating whether the selected text in the text box control remains highlighted when the control loses focus.
InvokeRequired (inherited from Control)Gets a value indicating whether the caller must call an invoke method when making method calls to the control because the caller is on a different thread than the one the control was created on.
IsDisposed (inherited from Control)Gets a value indicating whether the control has been disposed of.
Left (inherited from Control)Gets or sets the distance, in pixels, between the left edge of the control and the left edge of its container's client area.
Location (inherited from Control)Gets or sets the coordinates of the upper-left corner of the control relative to the upper-left corner of its container.
Mask Gets or sets the input mask to use at run time.
MaskCompleted Gets a value indicating whether all required inputs have been entered into the input mask.
MaskedTextProvider Gets a the mask provider associated with this instance of the masked text box control.
MaxLength Gets or sets the maximum number of characters the user can type or paste into the text box control.
Modified (inherited from TextBoxBase)Gets or sets a value that indicates that the text box control has been modified by the user since the control was created or its contents were last set.
Multiline This property is not supported by MaskedTextBox.
Name (inherited from Control)Gets or sets the name of the control.
Parent (inherited from Control)Gets or sets the parent container of the control.
PasswordChar (inherited from TextBox)Gets or sets the character used to mask characters of a password in a single-line TextBox control.
PromptChar Gets or sets the character used to represent the absence of user input in MaskedTextBox.
ReadOnly (inherited from TextBoxBase)Gets or sets a value indicating whether text in the text box is read-only.
ResetOnPrompt Gets or sets a value that determines how an input character that matches the prompt character should be handled.
ResetOnSpace Gets or sets a value that determines how a space input character should be handled.
Right (inherited from Control)Gets the distance, in pixels, between the right edge of the control and the left edge of its container's client area.
ScrollBars (inherited from TextBox)Gets or sets which scroll bars should appear in a multiline TextBox control.
SelectedText (inherited from TextBoxBase)Gets or sets a value indicating the currently selected text in the control.
SelectionLength (inherited from TextBoxBase)Gets or sets the number of characters selected in the text box.
SelectionStart (inherited from TextBoxBase)Gets or sets the starting point of text selected in the text box.
Site (inherited from Component)Gets or sets the ISite of the Component.
Size (inherited from Control)Gets or sets the height and width of the control.
TabIndex (inherited from Control)Gets or sets the tab order of the control within its container.
TabStop (inherited from Control)Gets or sets a value indicating whether the user can give the focus to this control using the TAB key.
Tag (inherited from Control)Gets or sets the object that contains data about the control.
Text Gets or sets the text associated with this control.
TextAlign (inherited from TextBox)Gets or sets how text is aligned in a TextBox control.
TextLength (inherited from TextBoxBase)Gets the length of text in the control.
TextMaskFormat Gets or sets a value that determines whether literals and prompt characters are included in the formatted string.
Top (inherited from Control)Gets or sets the distance, in pixels, between the top edge of the control and the top edge of its container's client area.
TopLevelControl (inherited from Control)Gets the parent control that is not parented by another Windows Forms control. Typically, this is the outermost Form that the control is contained in.
ValidatingType Gets or sets the data type used to verify the data input by the user.
Visible (inherited from Control)Gets or sets a value indicating whether the control is displayed.
Width (inherited from Control)Gets or sets the width of the control.
WordWrap This property is not supported by MaskedTextBox.

Protected Instance Properties

Events (inherited from Component)Gets the list of event handlers that are attached to this Component.
ScaleChildren (inherited from Control)Gets a value that determines the scaling of child controls.

See Also

MaskedTextBox Class | Resco.Controls.MaskedTextBox Namespace