Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Represents a Windows Forms MaskedTextBox that can be added to a Microsoft Office Word document.
Inheritance Hierarchy
System.Object
  System.MarshalByRefObject
    System.ComponentModel.Component
      System.Windows.Forms.Control
        System.Windows.Forms.TextBoxBase
          System.Windows.Forms.MaskedTextBox
            Microsoft.Office.Tools.Word.Controls.MaskedTextBox
Namespace:  Microsoft.Office.Tools.Word.Controls
Assembly:  Microsoft.Office.Tools.Word.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)
Syntax
'Declaration
<PermissionSetAttribute(SecurityAction.Demand, Name := "FullTrust")> _
Public Class MaskedTextBox _
    Inherits MaskedTextBox
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
public class MaskedTextBox : MaskedTextBox
The MaskedTextBox type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| .gif) | MaskedTextBox() | Infrastructure. | 
| .gif) | MaskedTextBox(Factory, IHostItemProvider, IServiceProvider, String, String, Object, String) | Infrastructure. | 
Top
Properties
| Name | Description | |
|---|---|---|
| .gif) | AcceptsTab | Gets or sets a value determining how TAB keys are handled for multiline configurations. This property is not supported by MaskedTextBox. (Inherited from MaskedTextBox.) | 
| .gif) | AccessibilityObject | Gets the AccessibleObject assigned to the control. (Inherited from Control.) | 
| .gif) | AccessibleDefaultActionDescription | Gets or sets the default action description of the control for use by accessibility client applications. (Inherited from Control.) | 
| .gif) | AccessibleDescription | Gets or sets the description of the control used by accessibility client applications. (Inherited from Control.) | 
| .gif) | AccessibleName | Gets or sets the name of the control used by accessibility client applications. (Inherited from Control.) | 
| .gif) | AccessibleRole | Gets or sets the accessible role of the control (Inherited from Control.) | 
| .gif) | AllowDrop | Gets or sets a value indicating whether the control can accept data that the user drags onto it. (Inherited from Control.) | 
| .gif) | AllowPromptAsInput | Gets or sets a value indicating whether PromptChar can be entered as valid data by the user. (Inherited from MaskedTextBox.) | 
| .gif) | AltHTML | Infrastructure. | 
| .gif) | Anchor | Infrastructure. (Overrides Control.Anchor.) | 
| .gif) | AsciiOnly | Gets or sets a value indicating whether the MaskedTextBox control accepts characters outside of the ASCII character set. (Inherited from MaskedTextBox.) | 
| .gif) | Automation | Infrastructure. | 
| .gif) | AutoScrollOffset | Gets or sets where this control is scrolled to in ScrollControlIntoView. (Inherited from Control.) | 
| .gif) | AutoSize | Gets or sets a value indicating whether the height of the control automatically adjusts when the font assigned to the control is changed. (Inherited from TextBoxBase.) | 
| .gif) | BackColor | Gets or sets the background color of the control. (Inherited from TextBoxBase.) | 
| .gif) | BackgroundImage | Infrastructure. This property is not relevant for this class. (Inherited from TextBoxBase.) | 
| .gif) | BackgroundImageLayout | Infrastructure. This property is not relevant for this class. (Inherited from TextBoxBase.) | 
| .gif) | 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. (Inherited from MaskedTextBox.) | 
| .gif) | BindingContext | Gets or sets the BindingContext for the control. (Inherited from Control.) | 
| .gif) | BorderStyle | Gets or sets the border type of the text box control. (Inherited from TextBoxBase.) | 
| .gif) | Bottom | Gets the distance, in points, between the bottom edge of the MaskedTextBox and the top edge of the document. | 
| .gif) | Bounds | Gets or sets the size and location of the control including its nonclient elements, in pixels, relative to the parent control. (Inherited from Control.) | 
| .gif) | CanEnableIme | Gets a value indicating whether the ImeMode property can be set to an active value, to enable IME support. (Inherited from TextBoxBase.) | 
| .gif) | CanFocus | Gets a value indicating whether the control can receive focus. (Inherited from Control.) | 
| .gif) | CanRaiseEvents | Determines if events can be raised on the control. (Inherited from Control.) | 
| .gif) | CanSelect | Gets a value indicating whether the control can be selected. (Inherited from Control.) | 
| .gif) | CanUndo | Gets a value indicating whether the user can undo the previous operation. This property is not supported by MaskedTextBox. (Inherited from MaskedTextBox.) | 
| .gif) | Capture | Gets or sets a value indicating whether the control has captured the mouse. (Inherited from Control.) | 
| .gif) | CausesValidation | Gets or sets a value indicating whether the control causes validation to be performed on any controls that require validation when it receives focus. (Inherited from Control.) | 
| .gif) | ClientRectangle | Gets the rectangle that represents the client area of the control. (Inherited from Control.) | 
| .gif) | ClientSize | Gets or sets the height and width of the client area of the control. (Inherited from Control.) | 
| .gif) | CompanyName | Gets the name of the company or creator of the application containing the control. (Inherited from Control.) | 
| .gif) | Container | Gets the IContainer that contains the Component. (Inherited from Component.) | 
| .gif) | ContainsFocus | Gets a value indicating whether the control, or one of its child controls, currently has the input focus. (Inherited from Control.) | 
| .gif) | ContextMenu | Gets or sets the shortcut menu associated with the control. (Inherited from Control.) | 
| .gif) | ContextMenuStrip | Gets or sets the ContextMenuStrip associated with this control. (Inherited from Control.) | 
| .gif) | Controls | Gets the collection of controls contained within the control. (Inherited from Control.) | 
| .gif) | Created | Gets a value indicating whether the control has been created. (Inherited from Control.) | 
| .gif) | CreateParams | Gets the required creation parameters when the control handle is created. (Inherited from MaskedTextBox.) | 
| .gif) | Culture | Gets or sets the culture information associated with the masked text box. (Inherited from MaskedTextBox.) | 
| .gif) | Cursor | Gets or sets the cursor that is displayed when the mouse pointer is over the control. (Inherited from Control.) | 
| .gif) | CutCopyMaskFormat | Gets or sets a value that determines whether literals and prompt characters are copied to the clipboard. (Inherited from MaskedTextBox.) | 
| .gif) | DataBindings | Gets the data bindings for the control. (Inherited from Control.) | 
| .gif) | DefaultCursor | Gets or sets the default cursor for the control. (Inherited from TextBoxBase.) | 
| .gif) | DefaultImeMode | Gets the default Input Method Editor (IME) mode supported by the control. (Inherited from Control.) | 
| .gif) | DefaultMargin | Gets the space, in pixels, that is specified by default between controls. (Inherited from Control.) | 
| .gif) | DefaultMaximumSize | Gets the length and height, in pixels, that is specified as the default maximum size of a control. (Inherited from Control.) | 
| .gif) | DefaultMinimumSize | Gets the length and height, in pixels, that is specified as the default minimum size of a control. (Inherited from Control.) | 
| .gif) | DefaultPadding | Gets the internal spacing, in pixels, of the contents of a control. (Inherited from Control.) | 
| .gif) | DefaultSize | Gets the default size of the control. (Inherited from TextBoxBase.) | 
| .gif) | DesignMode | Gets a value that indicates whether the Component is currently in design mode. (Inherited from Component.) | 
| .gif) | DisplayRectangle | Gets the rectangle that represents the display area of the control. (Inherited from Control.) | 
| .gif) | Disposing | Gets a value indicating whether the base Control class is in the process of disposing. (Inherited from Control.) | 
| .gif) | Dock | Infrastructure. (Overrides Control.Dock.) | 
| .gif) | DoubleBuffered | Infrastructure. Gets or sets a value indicating whether control drawing is done in a buffer before the control is displayed. This property is not relevant for this class. (Inherited from TextBoxBase.) | 
| .gif) | Enabled | Gets or sets a value indicating whether the control can respond to user interaction. (Inherited from Control.) | 
| .gif) | Events | Gets the list of event handlers that are attached to this Component. (Inherited from Component.) | 
| .gif) | Focused | Gets a value indicating whether the control has input focus. (Inherited from Control.) | 
| .gif) | Font | Gets or sets the font of the text displayed by the control. (Inherited from Control.) | 
| .gif) | FontHeight | Gets or sets the height of the font of the control. (Inherited from Control.) | 
| .gif) | ForeColor | Gets or sets the foreground color of the control. (Inherited from TextBoxBase.) | 
| .gif) | FormatProvider | Gets or sets the IFormatProvider to use when performing type validation. (Inherited from MaskedTextBox.) | 
| .gif) | Handle | Gets the window handle that the control is bound to. (Inherited from Control.) | 
| .gif) | HasChildren | Gets a value indicating whether the control contains one or more child controls. (Inherited from Control.) | 
| .gif) | Height | Gets or sets the height of the MaskedTextBox. | 
| .gif) | HidePromptOnLeave | Gets or sets a value indicating whether the prompt characters in the input mask are hidden when the masked text box loses focus. (Inherited from MaskedTextBox.) | 
| .gif) | HideSelection | Gets or sets a value indicating whether the selected text in the text box control remains highlighted when the control loses focus. (Inherited from TextBoxBase.) | 
| .gif) | ImeMode | Gets or sets the Input Method Editor (IME) mode of the control. (Inherited from Control.) | 
| .gif) | ImeModeBase | Gets or sets the Input Method Editor (IME) mode of a control. (Inherited from TextBoxBase.) | 
| .gif) | InlineShape | Gets the underlying InlineShape of the MaskedTextBox. | 
| .gif) | InsertKeyMode | Gets or sets the text insertion mode of the masked text box control. (Inherited from MaskedTextBox.) | 
| .gif) | InvokeRequired | 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. (Inherited from Control.) | 
| .gif) | IsAccessible | Gets or sets a value indicating whether the control is visible to accessibility applications. (Inherited from Control.) | 
| .gif) | IsDisposed | Gets a value indicating whether the control has been disposed of. (Inherited from Control.) | 
| .gif) | IsHandleCreated | Gets a value indicating whether the control has a handle associated with it. (Inherited from Control.) | 
| .gif) | IsMirrored | Gets a value indicating whether the control is mirrored. (Inherited from Control.) | 
| .gif) | IsOverwriteMode | Gets a value that specifies whether new user input overwrites existing input. (Inherited from MaskedTextBox.) | 
| .gif) | LayoutEngine | Gets a cached instance of the control's layout engine. (Inherited from Control.) | 
| .gif) | Left | Gets or sets the distance, in points, between the left edge of the MaskedTextBox and the left edge of the document. | 
| .gif) | Lines | Gets or sets the lines of text in multiline configurations. This property is not supported by MaskedTextBox. (Inherited from MaskedTextBox.) | 
| .gif) | Location | Infrastructure. | 
| .gif) | Margin | Gets or sets the space between controls. (Inherited from Control.) | 
| .gif) | Mask | Gets or sets the input mask to use at run time. (Inherited from MaskedTextBox.) | 
| .gif) | MaskCompleted | Gets a value indicating whether all required inputs have been entered into the input mask. (Inherited from MaskedTextBox.) | 
| .gif) | MaskedTextProvider | Gets a clone of the mask provider associated with this instance of the masked text box control. (Inherited from MaskedTextBox.) | 
| .gif) | MaskFull | Gets a value indicating whether all required and optional inputs have been entered into the input mask. (Inherited from MaskedTextBox.) | 
| .gif) | MaximumSize | Gets or sets the size that is the upper limit that GetPreferredSize can specify. (Inherited from Control.) | 
| .gif) | MaxLength | 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 MaskedTextBox. (Inherited from MaskedTextBox.) | 
| .gif) | MinimumSize | Gets or sets the size that is the lower limit that GetPreferredSize can specify. (Inherited from Control.) | 
| .gif) | Modified | 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. (Inherited from TextBoxBase.) | 
| .gif) | Multiline | Gets or sets a value indicating whether this is a multiline text box control. This property is not fully supported by MaskedTextBox. (Inherited from MaskedTextBox.) | 
| .gif) | Name | Gets or sets the name of the control. (Inherited from Control.) | 
| .gif) | Padding | Infrastructure. This property is not relevant for this class. (Inherited from TextBoxBase.) | 
| .gif) | Parent | Gets or sets the parent container of the control. (Inherited from Control.) | 
| .gif) | PasswordChar | Gets or sets the character to be displayed in substitute for user input. (Inherited from MaskedTextBox.) | 
| .gif) | PreferredHeight | Gets the preferred height for a text box. (Inherited from TextBoxBase.) | 
| .gif) | PreferredSize | Gets the size of a rectangular area into which the control can fit. (Inherited from Control.) | 
| .gif) | ProductName | Gets the product name of the assembly containing the control. (Inherited from Control.) | 
| .gif) | ProductVersion | Gets the version of the assembly containing the control. (Inherited from Control.) | 
| .gif) | PromptChar | Gets or sets the character used to represent the absence of user input in MaskedTextBox. (Inherited from MaskedTextBox.) | 
| .gif) | ReadOnly | Gets or sets a value indicating whether text in the text box is read-only. (Inherited from MaskedTextBox.) | 
| .gif) | RecreatingHandle | Gets a value indicating whether the control is currently re-creating its handle. (Inherited from Control.) | 
| .gif) | Region | Gets or sets the window region associated with the control. (Inherited from Control.) | 
| .gif) | RejectInputOnFirstFailure | Gets or sets a value indicating whether the parsing of user input should stop after the first invalid character is reached. (Inherited from MaskedTextBox.) | 
| .gif) | RenderRightToLeft | Obsolete. This property is now obsolete. (Inherited from Control.) | 
| .gif) | ResetOnPrompt | Gets or sets a value that determines how an input character that matches the prompt character should be handled. (Inherited from MaskedTextBox.) | 
| .gif) | ResetOnSpace | Gets or sets a value that determines how a space input character should be handled. (Inherited from MaskedTextBox.) | 
| .gif) | ResizeRedraw | Gets or sets a value indicating whether the control redraws itself when resized. (Inherited from Control.) | 
| .gif) | Right | Gets the distance, in points, between the right edge of the MaskedTextBox and the left edge of the document. | 
| .gif) | RightToLeft | Gets or sets a value indicating whether control's elements are aligned to support locales using right-to-left fonts. (Inherited from Control.) | 
| .gif) | ScaleChildren | Gets a value that determines the scaling of child controls. (Inherited from Control.) | 
| .gif) | SelectedText | Gets or sets the current selection in the MaskedTextBox control. (Inherited from MaskedTextBox.) | 
| .gif) | SelectionLength | Gets or sets the number of characters selected in the text box. (Inherited from TextBoxBase.) | 
| .gif) | SelectionStart | Gets or sets the starting point of text selected in the text box. (Inherited from TextBoxBase.) | 
| .gif) | Shape | Gets the underlying Shape of the MaskedTextBox. | 
| .gif) | ShortcutsEnabled | Gets or sets a value indicating whether the defined shortcuts are enabled. (Inherited from TextBoxBase.) | 
| .gif) | ShowFocusCues | Gets a value indicating whether the control should display focus rectangles. (Inherited from Control.) | 
| .gif) | ShowKeyboardCues | Gets a value indicating whether the user interface is in the appropriate state to show or hide keyboard accelerators. (Inherited from Control.) | 
| .gif) | Site | Gets or sets the site of the control. (Inherited from Control.) | 
| .gif) | Size | Gets or sets the height and width of the control. (Inherited from Control.) | 
| .gif) | SkipLiterals | Gets or sets a value indicating whether the user is allowed to reenter literal values. (Inherited from MaskedTextBox.) | 
| .gif) | TabIndex | Infrastructure. | 
| .gif) | TabStop | Infrastructure. | 
| .gif) | Tag | Gets or sets the object that contains data about the control. (Inherited from Control.) | 
| .gif) | Text | Gets or sets the text as it is currently displayed to the user. (Inherited from MaskedTextBox.) | 
| .gif) | TextAlign | Gets or sets how text is aligned in a masked text box control. (Inherited from MaskedTextBox.) | 
| .gif) | TextLength | Gets the length of the displayed text. (Inherited from MaskedTextBox.) | 
| .gif) | TextMaskFormat | Gets or sets a value that determines whether literals and prompt characters are included in the formatted string. (Inherited from MaskedTextBox.) | 
| .gif) | Top | Gets or sets the distance, in points, between the top edge of the MaskedTextBox and the top edge of the document. | 
| .gif) | TopLevelControl | Infrastructure. | 
| .gif) | UseSystemPasswordChar | Gets or sets a value indicating whether the operating system-supplied password character should be used. (Inherited from MaskedTextBox.) | 
| .gif) | UseWaitCursor | Gets or sets a value indicating whether to use the wait cursor for the current control and all child controls. (Inherited from Control.) | 
| .gif) | ValidatingType | Gets or sets the data type used to verify the data input by the user. (Inherited from MaskedTextBox.) | 
| .gif) | Visible | Infrastructure. | 
| .gif) | Width | Gets or sets the width of the MaskedTextBox in points. | 
| .gif) | WindowTarget | Infrastructure. This property is not relevant for this class. (Inherited from Control.) | 
| .gif) | WordWrap | 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 MaskedTextBox. (Inherited from MaskedTextBox.) | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | AccessibilityNotifyClients(AccessibleEvents, Int32) | Notifies the accessibility client applications of the specified AccessibleEvents for the specified child control. (Inherited from Control.) | 
| .gif) | AccessibilityNotifyClients(AccessibleEvents, Int32, Int32) | Notifies the accessibility client applications of the specified AccessibleEvents for the specified child control . (Inherited from Control.) | 
| .gif) | Activate | Activates the MaskedTextBox. | 
| .gif) | AppendText | Appends text to the current text of a text box. (Inherited from TextBoxBase.) | 
| .gif) | BeginInvoke(Delegate) | Executes the specified delegate asynchronously on the thread that the control's underlying handle was created on. (Inherited from Control.) | 
| .gif) | BeginInvoke(Delegate, array<Object[]) | Executes the specified delegate asynchronously with the specified arguments, on the thread that the control's underlying handle was created on. (Inherited from Control.) | 
| .gif) | BringToFront | Brings the control to the front of the z-order. (Inherited from Control.) | 
| .gif) | Clear | Clears all text from the text box control. (Inherited from TextBoxBase.) | 
| .gif) | ClearUndo | Clears information about the most recent operation from the undo buffer of the text box. This method is not supported by MaskedTextBox. (Inherited from MaskedTextBox.) | 
| .gif) | Contains | Retrieves a value indicating whether the specified control is a child of the control. (Inherited from Control.) | 
| .gif) | Copy | Copies the current selection in the text box to the Clipboard. (Inherited from TextBoxBase.) | 
| .gif) | CreateAccessibilityInstance | Creates a new accessibility object for the control. (Inherited from Control.) | 
| .gif) | CreateControl | Forces the creation of the visible control, including the creation of the handle and any visible child controls. (Inherited from Control.) | 
| .gif) | CreateControlsInstance | Creates a new instance of the control collection for the control. (Inherited from Control.) | 
| .gif) | CreateGraphics | Creates the Graphics for the control. (Inherited from Control.) | 
| .gif) | CreateHandle | Creates a handle for the control. (Inherited from MaskedTextBox.) | 
| .gif) | CreateObjRef | Security Critical. Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.) | 
| .gif) | Cut | Moves the current selection in the text box to the Clipboard. (Inherited from TextBoxBase.) | 
| .gif) | DefWndProc | Sends the specified message to the default window procedure. (Inherited from Control.) | 
| .gif) | Delete | Deletes a dynamically created MaskedTextBox from the document and removes it from the ControlCollection. | 
| .gif) | DeselectAll | Specifies that the value of the SelectionLength property is zero so that no characters are selected in the control. (Inherited from TextBoxBase.) | 
| .gif) | DestroyHandle | Destroys the handle associated with the control. (Inherited from Control.) | 
| .gif) | Dispose() | Releases all resources used by the Component. (Inherited from Component.) | 
| .gif) | Dispose(Boolean) | Releases the unmanaged resources used by the MaskedTextBox and optionally releases the managed resources. (Overrides Control.Dispose(Boolean).) | 
| .gif) | DoDragDrop | Begins a drag-and-drop operation. (Inherited from Control.) | 
| .gif) | DrawToBitmap | Supports rendering to the specified bitmap. (Inherited from Control.) | 
| .gif) | EndInvoke | Retrieves the return value of the asynchronous operation represented by the IAsyncResult passed. (Inherited from Control.) | 
| .gif) | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | 
| .gif) | Finalize | Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. (Inherited from Component.) | 
| .gif) | FindForm | Retrieves the form that the control is on. (Inherited from Control.) | 
| .gif) | Focus | Sets input focus to the control. (Inherited from Control.) | 
| .gif) | GetAccessibilityObjectById | Retrieves the specified AccessibleObject. (Inherited from Control.) | 
| .gif) | GetAutoSizeMode | Retrieves a value indicating how a control will behave when its AutoSize property is enabled. (Inherited from Control.) | 
| .gif) | GetCharFromPosition | Retrieves the character that is closest to the specified location within the control. (Inherited from MaskedTextBox.) | 
| .gif) | GetCharIndexFromPosition | Retrieves the index of the character nearest to the specified location. (Inherited from MaskedTextBox.) | 
| .gif) | GetChildAtPoint(Point) | Retrieves the child control that is located at the specified coordinates. (Inherited from Control.) | 
| .gif) | GetChildAtPoint(Point, GetChildAtPointSkip) | Retrieves the child control that is located at the specified coordinates, specifying whether to ignore child controls of a certain type. (Inherited from Control.) | 
| .gif) | GetContainerControl | Returns the next ContainerControl up the control's chain of parent controls. (Inherited from Control.) | 
| .gif) | GetFirstCharIndexFromLine | Retrieves the index of the first character of a given line. This method is not supported by MaskedTextBox. (Inherited from MaskedTextBox.) | 
| .gif) | GetFirstCharIndexOfCurrentLine | Retrieves the index of the first character of the current line. This method is not supported by MaskedTextBox. (Inherited from MaskedTextBox.) | 
| .gif) | GetHashCode | Serves as the default hash function. (Inherited from Object.) | 
| .gif) | GetLifetimeService | Security Critical. Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | 
| .gif) | GetLineFromCharIndex | Retrieves the line number from the specified character position within the text of the control. This method is not supported by MaskedTextBox. (Inherited from MaskedTextBox.) | 
| .gif) | GetNextControl | Retrieves the next control forward or back in the tab order of child controls. (Inherited from Control.) | 
| .gif) | GetPositionFromCharIndex | Retrieves the location within the control at the specified character index. (Inherited from MaskedTextBox.) | 
| .gif) | GetPreferredSize | Retrieves the size of a rectangular area into which a control can be fitted. (Inherited from Control.) | 
| .gif) | GetScaledBounds | Retrieves the bounds within which the control is scaled. (Inherited from Control.) | 
| .gif) | GetService | Returns an object that represents a service provided by the Component or by its Container. (Inherited from Component.) | 
| .gif) | GetStyle | Retrieves the value of the specified control style bit for the control. (Inherited from Control.) | 
| .gif) | GetTopLevel | Determines if the control is a top-level control. (Inherited from Control.) | 
| .gif) | GetType | Gets the Type of the current instance. (Inherited from Object.) | 
| .gif) | Hide | Infrastructure. | 
| .gif) | InitializeLifetimeService | Security Critical. Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | 
| .gif) | InitLayout | Called after the control has been added to another container. (Inherited from Control.) | 
| .gif) | Invalidate() | Invalidates the entire surface of the control and causes the control to be redrawn. (Inherited from Control.) | 
| .gif) | Invalidate(Region) | Invalidates the specified region of the control (adds it to the control's update region, which is the area that will be repainted at the next paint operation), and causes a paint message to be sent to the control. (Inherited from Control.) | 
| .gif) | Invalidate(Boolean) | Invalidates a specific region of the control and causes a paint message to be sent to the control. Optionally, invalidates the child controls assigned to the control. (Inherited from Control.) | 
| .gif) | Invalidate(Rectangle) | Invalidates the specified region of the control (adds it to the control's update region, which is the area that will be repainted at the next paint operation), and causes a paint message to be sent to the control. (Inherited from Control.) | 
| .gif) | Invalidate(Region, Boolean) | Invalidates the specified region of the control (adds it to the control's update region, which is the area that will be repainted at the next paint operation), and causes a paint message to be sent to the control. Optionally, invalidates the child controls assigned to the control. (Inherited from Control.) | 
| .gif) | Invalidate(Rectangle, Boolean) | Invalidates the specified region of the control (adds it to the control's update region, which is the area that will be repainted at the next paint operation), and causes a paint message to be sent to the control. Optionally, invalidates the child controls assigned to the control. (Inherited from Control.) | 
| .gif) | Invoke(Delegate) | Executes the specified delegate on the thread that owns the control's underlying window handle. (Inherited from Control.) | 
| .gif) | Invoke(Delegate, array<Object[]) | Executes the specified delegate, on the thread that owns the control's underlying window handle, with the specified list of arguments. (Inherited from Control.) | 
| .gif) | InvokeGotFocus | Raises the GotFocus event for the specified control. (Inherited from Control.) | 
| .gif) | InvokeLostFocus | Raises the LostFocus event for the specified control. (Inherited from Control.) | 
| .gif) | InvokeOnClick | Raises the Click event for the specified control. (Inherited from Control.) | 
| .gif) | InvokePaint | Raises the Paint event for the specified control. (Inherited from Control.) | 
| .gif) | InvokePaintBackground | Raises the PaintBackground event for the specified control. (Inherited from Control.) | 
| .gif) | IsInputChar | Determines if a character is an input character that the control recognizes. (Inherited from Control.) | 
| .gif) | IsInputKey | Determines whether the specified key is an input key or a special key that requires preprocessing. (Inherited from MaskedTextBox.) | 
| .gif) | MemberwiseClone() | Creates a shallow copy of the current Object. (Inherited from Object.) | 
| .gif) | MemberwiseClone(Boolean) | Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.) | 
| .gif) | NotifyInvalidate | Infrastructure. Raises the Invalidated event with a specified region of the control to invalidate. (Inherited from Control.) | 
| .gif) | OnAcceptsTabChanged | Raises the AcceptsTabChanged event. (Inherited from TextBoxBase.) | 
| .gif) | OnAutoSizeChanged | Raises the AutoSizeChanged event. (Inherited from Control.) | 
| .gif) | OnBackColorChanged | Occurs when the value of the BackColor property changes. (Inherited from MaskedTextBox.) | 
| .gif) | OnBackgroundImageChanged | Raises the BackgroundImageChanged event. (Inherited from Control.) | 
| .gif) | OnBackgroundImageLayoutChanged | Raises the BackgroundImageLayoutChanged event. (Inherited from Control.) | 
| .gif) | OnBindingContextChanged | Raises the BindingContextChanged event. (Inherited from Control.) | 
| .gif) | OnBorderStyleChanged | Raises the BorderStyleChanged event. (Inherited from TextBoxBase.) | 
| .gif) | OnCausesValidationChanged | Raises the CausesValidationChanged event. (Inherited from Control.) | 
| .gif) | OnChangeUICues | Raises the ChangeUICues event. (Inherited from Control.) | 
| .gif) | OnClick | Raises the Click event. (Inherited from Control.) | 
| .gif) | OnClientSizeChanged | Raises the ClientSizeChanged event. (Inherited from Control.) | 
| .gif) | OnContextMenuChanged | Raises the ContextMenuChanged event. (Inherited from Control.) | 
| .gif) | OnContextMenuStripChanged | Raises the ContextMenuStripChanged event. (Inherited from Control.) | 
| .gif) | OnControlAdded | Raises the ControlAdded event. (Inherited from Control.) | 
| .gif) | OnControlRemoved | Raises the ControlRemoved event. (Inherited from Control.) | 
| .gif) | OnCreateControl | Raises the CreateControl method. (Inherited from Control.) | 
| .gif) | OnCursorChanged | Raises the CursorChanged event. (Inherited from Control.) | 
| .gif) | OnDockChanged | Raises the DockChanged event. (Inherited from Control.) | 
| .gif) | OnDoubleClick | Raises the DoubleClick event. (Inherited from Control.) | 
| .gif) | OnDragDrop | Raises the DragDrop event. (Inherited from Control.) | 
| .gif) | OnDragEnter | Raises the DragEnter event. (Inherited from Control.) | 
| .gif) | OnDragLeave | Raises the DragLeave event. (Inherited from Control.) | 
| .gif) | OnDragOver | Raises the DragOver event. (Inherited from Control.) | 
| .gif) | OnEnabledChanged | Raises the EnabledChanged event. (Inherited from Control.) | 
| .gif) | OnEnter | Raises the Enter event. (Inherited from Control.) | 
| .gif) | OnFontChanged | Raises the FontChanged event. (Inherited from TextBoxBase.) | 
| .gif) | OnForeColorChanged | Raises the ForeColorChanged event. (Inherited from Control.) | 
| .gif) | OnGiveFeedback | Raises the GiveFeedback event. (Inherited from Control.) | 
| .gif) | OnGotFocus | Raises the GotFocus event. (Inherited from Control.) | 
| .gif) | OnHandleCreated | Raises the HandleCreated event. (Inherited from MaskedTextBox.) | 
| .gif) | OnHandleDestroyed | Raises the HandleDestroyed event. (Inherited from TextBoxBase.) | 
| .gif) | OnHelpRequested | Raises the HelpRequested event. (Inherited from Control.) | 
| .gif) | OnHideSelectionChanged | Raise the HideSelectionChanged event. (Inherited from TextBoxBase.) | 
| .gif) | OnImeModeChanged | Raises the ImeModeChanged event. (Inherited from Control.) | 
| .gif) | OnInvalidated | Raises the Invalidated event. (Inherited from Control.) | 
| .gif) | OnIsOverwriteModeChanged | Raises the IsOverwriteModeChanged event. (Inherited from MaskedTextBox.) | 
| .gif) | OnKeyDown | Raises the KeyDown event. (Inherited from MaskedTextBox.) | 
| .gif) | OnKeyPress | Raises the KeyPress event. (Inherited from MaskedTextBox.) | 
| .gif) | OnKeyUp | Raises the KeyUp event. (Inherited from MaskedTextBox.) | 
| .gif) | OnLayout | Raises the Layout event. (Inherited from Control.) | 
| .gif) | OnLeave | Raises the Leave event. (Inherited from Control.) | 
| .gif) | OnLocationChanged | Raises the LocationChanged event. (Inherited from Control.) | 
| .gif) | OnLostFocus | Raises the LostFocus event. (Inherited from Control.) | 
| .gif) | OnMarginChanged | Raises the MarginChanged event. (Inherited from Control.) | 
| .gif) | OnMaskChanged | Raises the MaskChanged event. (Inherited from MaskedTextBox.) | 
| .gif) | OnModifiedChanged | Raises the ModifiedChanged event. (Inherited from TextBoxBase.) | 
| .gif) | OnMouseCaptureChanged | Raises the MouseCaptureChanged event. (Inherited from Control.) | 
| .gif) | OnMouseClick | Raises the MouseClick event. (Inherited from Control.) | 
| .gif) | OnMouseDoubleClick | Raises the MouseDoubleClick event. (Inherited from Control.) | 
| .gif) | OnMouseDown | Raises the MouseDown event. (Inherited from Control.) | 
| .gif) | OnMouseEnter | Raises the MouseEnter event. (Inherited from Control.) | 
| .gif) | OnMouseHover | Raises the MouseHover event. (Inherited from Control.) | 
| .gif) | OnMouseLeave | Raises the MouseLeave event. (Inherited from Control.) | 
| .gif) | OnMouseMove | Raises the MouseMove event. (Inherited from Control.) | 
| .gif) | OnMouseUp | Raises the MouseUp event. (Inherited from TextBoxBase.) | 
| .gif) | OnMouseWheel | Raises the MouseWheel event. (Inherited from Control.) | 
| .gif) | OnMove | Raises the Move event. (Inherited from Control.) | 
| .gif) | OnMultilineChanged | Typically raises the MultilineChanged event, but disabled for MaskedTextBox. (Inherited from MaskedTextBox.) | 
| .gif) | OnNotifyMessage | Notifies the control of Windows messages. (Inherited from Control.) | 
| .gif) | OnPaddingChanged | Infrastructure. This method is not relevant for this class. (Inherited from TextBoxBase.) | 
| .gif) | OnPaint | Raises the Paint event. (Inherited from Control.) | 
| .gif) | OnPaintBackground | Paints the background of the control. (Inherited from Control.) | 
| .gif) | OnParentBackColorChanged | Raises the BackColorChanged event when the BackColor property value of the control's container changes. (Inherited from Control.) | 
| .gif) | OnParentBackgroundImageChanged | Raises the BackgroundImageChanged event when the BackgroundImage property value of the control's container changes. (Inherited from Control.) | 
| .gif) | OnParentBindingContextChanged | Raises the BindingContextChanged event when the BindingContext property value of the control's container changes. (Inherited from Control.) | 
| .gif) | OnParentChanged | Raises the ParentChanged event. (Inherited from Control.) | 
| .gif) | OnParentCursorChanged | Raises the CursorChanged event. (Inherited from Control.) | 
| .gif) | OnParentEnabledChanged | Raises the EnabledChanged event when the Enabled property value of the control's container changes. (Inherited from Control.) | 
| .gif) | OnParentFontChanged | Raises the FontChanged event when the Font property value of the control's container changes. (Inherited from Control.) | 
| .gif) | OnParentForeColorChanged | Raises the ForeColorChanged event when the ForeColor property value of the control's container changes. (Inherited from Control.) | 
| .gif) | OnParentRightToLeftChanged | Raises the RightToLeftChanged event when the RightToLeft property value of the control's container changes. (Inherited from Control.) | 
| .gif) | OnParentVisibleChanged | Raises the VisibleChanged event when the Visible property value of the control's container changes. (Inherited from Control.) | 
| .gif) | OnPreviewKeyDown | Raises the PreviewKeyDown event. (Inherited from Control.) | 
| .gif) | OnPrint | Raises the Paint event. (Inherited from Control.) | 
| .gif) | OnQueryContinueDrag | Raises the QueryContinueDrag event. (Inherited from Control.) | 
| .gif) | OnReadOnlyChanged | Raises the ReadOnlyChanged event. (Inherited from TextBoxBase.) | 
| .gif) | OnRegionChanged | Raises the RegionChanged event. (Inherited from Control.) | 
| .gif) | OnResize | Raises the Resize event. (Inherited from Control.) | 
| .gif) | OnRightToLeftChanged | Raises the RightToLeftChanged event. (Inherited from Control.) | 
| .gif) | OnSizeChanged | Raises the SizeChanged event. (Inherited from Control.) | 
| .gif) | OnStyleChanged | Raises the StyleChanged event. (Inherited from Control.) | 
| .gif) | OnSystemColorsChanged | Raises the SystemColorsChanged event. (Inherited from Control.) | 
| .gif) | OnTabIndexChanged | Raises the TabIndexChanged event. (Inherited from Control.) | 
| .gif) | OnTabStopChanged | Raises the TabStopChanged event. (Inherited from Control.) | 
| .gif) | OnTextAlignChanged | Raises the TextAlignChanged event. (Inherited from MaskedTextBox.) | 
| .gif) | OnTextChanged | Raises the TextChanged event. (Inherited from MaskedTextBox.) | 
| .gif) | OnValidated | Raises the Validated event. (Inherited from Control.) | 
| .gif) | OnValidating | Raises the Validating event. (Inherited from MaskedTextBox.) | 
| .gif) | OnVisibleChanged | Raises the VisibleChanged event. (Inherited from Control.) | 
| .gif) | Paste | Replaces the current selection in the text box with the contents of the Clipboard. (Inherited from TextBoxBase.) | 
| .gif) | PerformLayout() | Forces the control to apply layout logic to all its child controls. (Inherited from Control.) | 
| .gif) | PerformLayout(Control, String) | Forces the control to apply layout logic to all its child controls. (Inherited from Control.) | 
| .gif) | PointToClient | Computes the location of the specified screen point into client coordinates. (Inherited from Control.) | 
| .gif) | PointToScreen | Computes the location of the specified client point into screen coordinates. (Inherited from Control.) | 
| .gif) | PreProcessControlMessage | Preprocesses keyboard or input messages within the message loop before they are dispatched. (Inherited from Control.) | 
| .gif) | PreProcessMessage | Preprocesses keyboard or input messages within the message loop before they are dispatched. (Inherited from Control.) | 
| .gif) | ProcessCmdKey | Processes a command key. (Inherited from MaskedTextBox.) | 
| .gif) | ProcessDialogChar | Processes a dialog character. (Inherited from Control.) | 
| .gif) | ProcessDialogKey | Processes a dialog key. (Inherited from TextBoxBase.) | 
| .gif) | ProcessKeyEventArgs | Processes a key message and generates the appropriate control events. (Inherited from Control.) | 
| .gif) | ProcessKeyMessage | Overrides the base implementation of this method to handle input language changes. (Inherited from MaskedTextBox.) | 
| .gif) | ProcessKeyPreview | Previews a keyboard message. (Inherited from Control.) | 
| .gif) | ProcessMnemonic | Processes a mnemonic character. (Inherited from Control.) | 
| .gif) | RaiseDragEvent | Infrastructure. Raises the appropriate drag event. (Inherited from Control.) | 
| .gif) | RaiseKeyEvent | Infrastructure. Raises the appropriate key event. (Inherited from Control.) | 
| .gif) | RaiseMouseEvent | Infrastructure. Raises the appropriate mouse event. (Inherited from Control.) | 
| .gif) | RaisePaintEvent | Infrastructure. Raises the appropriate paint event. (Inherited from Control.) | 
| .gif) | RecreateHandle | Forces the re-creation of the handle for the control. (Inherited from Control.) | 
| .gif) | RectangleToClient | Computes the size and location of the specified screen rectangle in client coordinates. (Inherited from Control.) | 
| .gif) | RectangleToScreen | Computes the size and location of the specified client rectangle in screen coordinates. (Inherited from Control.) | 
| .gif) | Refresh | Forces the control to invalidate its client area and immediately redraw itself and any child controls. (Inherited from Control.) | 
| .gif) | ResetBackColor | Resets the BackColor property to its default value. (Inherited from Control.) | 
| .gif) | ResetBindings | Causes a control bound to the BindingSource to reread all the items in the list and refresh their displayed values. (Inherited from Control.) | 
| .gif) | ResetCursor | Resets the Cursor property to its default value. (Inherited from Control.) | 
| .gif) | ResetFont | Resets the Font property to its default value. (Inherited from Control.) | 
| .gif) | ResetForeColor | Resets the ForeColor property to its default value. (Inherited from Control.) | 
| .gif) | ResetImeMode | Resets the ImeMode property to its default value. (Inherited from Control.) | 
| .gif) | ResetMouseEventArgs | Infrastructure. Resets the control to handle the MouseLeave event. (Inherited from Control.) | 
| .gif) | ResetRightToLeft | Resets the RightToLeft property to its default value. (Inherited from Control.) | 
| .gif) | ResetText | Resets the Text property to its default value. (Inherited from Control.) | 
| .gif) | ResumeLayout() | Resumes usual layout logic. (Inherited from Control.) | 
| .gif) | ResumeLayout(Boolean) | Resumes usual layout logic, optionally forcing an immediate layout of pending layout requests. (Inherited from Control.) | 
| .gif) | RtlTranslateAlignment(HorizontalAlignment) | Converts the specified HorizontalAlignment to the appropriate HorizontalAlignment to support right-to-left text. (Inherited from Control.) | 
| .gif) | RtlTranslateAlignment(LeftRightAlignment) | Converts the specified LeftRightAlignment to the appropriate LeftRightAlignment to support right-to-left text. (Inherited from Control.) | 
| .gif) | RtlTranslateAlignment(ContentAlignment) | Converts the specified ContentAlignment to the appropriate ContentAlignment to support right-to-left text. (Inherited from Control.) | 
| .gif) | RtlTranslateContent | Converts the specified ContentAlignment to the appropriate ContentAlignment to support right-to-left text. (Inherited from Control.) | 
| .gif) | RtlTranslateHorizontal | Converts the specified HorizontalAlignment to the appropriate HorizontalAlignment to support right-to-left text. (Inherited from Control.) | 
| .gif) | RtlTranslateLeftRight | Converts the specified LeftRightAlignment to the appropriate LeftRightAlignment to support right-to-left text. (Inherited from Control.) | 
| .gif) | Scale(Single) | Obsolete. Scales the control and any child controls. (Inherited from Control.) | 
| .gif) | Scale(SizeF) | Scales the control and all child controls by the specified scaling factor. (Inherited from Control.) | 
| .gif) | Scale(Single, Single) | Obsolete. Scales the entire control and any child controls. (Inherited from Control.) | 
| .gif) | ScaleControl | Scales a control's location, size, padding and margin. (Inherited from Control.) | 
| .gif) | ScaleCore | Infrastructure. This method is not relevant for this class. (Inherited from Control.) | 
| .gif) | ScrollToCaret | Scrolls the contents of the control to the current caret position. This method is not supported by MaskedTextBox. (Inherited from MaskedTextBox.) | 
| .gif) | Select() | Selects the MaskedTextBox. | 
| .gif) | Select(Int32, Int32) | Selects a range of text in the text box. (Inherited from TextBoxBase.) | 
| .gif) | Select(Boolean, Boolean) | Activates a child control. Optionally specifies the direction in the tab order to select the control from. (Inherited from Control.) | 
| .gif) | SelectAll | Selects all text in the text box. (Inherited from TextBoxBase.) | 
| .gif) | SelectNextControl | Activates the next control. (Inherited from Control.) | 
| .gif) | SendToBack | Sends the control to the back of the z-order. (Inherited from Control.) | 
| .gif) | SetAutoSizeMode | Sets a value indicating how a control will behave when its AutoSize property is enabled. (Inherited from Control.) | 
| .gif) | SetBounds(Int32, Int32, Int32, Int32) | Sets the bounds of the control to the specified location and size. (Inherited from Control.) | 
| .gif) | SetBounds(Int32, Int32, Int32, Int32, BoundsSpecified) | Sets the specified bounds of the control to the specified location and size. (Inherited from Control.) | 
| .gif) | SetBoundsCore | Infrastructure. (Overrides TextBoxBase.SetBoundsCore(Int32, Int32, Int32, Int32, BoundsSpecified).) | 
| .gif) | SetClientSizeCore | Sets the size of the client area of the control. (Inherited from Control.) | 
| .gif) | SetStyle | Sets a specified ControlStyles flag to either true or false. (Inherited from Control.) | 
| .gif) | SetTopLevel | Sets the control as the top-level control. (Inherited from Control.) | 
| .gif) | SetVisibleCore | Infrastructure. (Overrides Control.SetVisibleCore(Boolean).) | 
| .gif) | Show | Infrastructure. | 
| .gif) | SizeFromClientSize | Determines the size of the entire control from the height and width of its client area. (Inherited from Control.) | 
| .gif) | SuspendLayout | Temporarily suspends the layout logic for the control. (Inherited from Control.) | 
| .gif) | ToString | Returns a string that represents the current masked text box. This method overrides ToString. (Inherited from MaskedTextBox.) | 
| .gif) | Undo | Undoes the last edit operation in the text box. This method is not supported by MaskedTextBox. (Inherited from MaskedTextBox.) | 
| .gif) | Update | Causes the control to redraw the invalidated regions within its client area. (Inherited from Control.) | 
| .gif) | UpdateBounds() | Updates the bounds of the control with the current size and location. (Inherited from Control.) | 
| .gif) | UpdateBounds(Int32, Int32, Int32, Int32) | Updates the bounds of the control with the specified size and location. (Inherited from Control.) | 
| .gif) | UpdateBounds(Int32, Int32, Int32, Int32, Int32, Int32) | Updates the bounds of the control with the specified size, location, and client size. (Inherited from Control.) | 
| .gif) | UpdateStyles | Forces the assigned styles to be reapplied to the control. (Inherited from Control.) | 
| .gif) | UpdateZOrder | Updates the control in its parent's z-order. (Inherited from Control.) | 
| .gif) | ValidateText | Converts the user input string to an instance of the validating type. (Inherited from MaskedTextBox.) | 
| .gif) | WndProc | Processes text messages. (Inherited from MaskedTextBox.) | 
Top
Events
| Name | Description | |
|---|---|---|
| .gif) | AcceptsTabChanged | Occurs when the value of the AcceptsTab property has changed. This event is not raised by MaskedTextBox. (Inherited from MaskedTextBox.) | 
| .gif) | AutoSizeChanged | Infrastructure. This event is not relevant for this class. (Inherited from TextBoxBase.) | 
| .gif) | BackColorChanged | Occurs when the value of the BackColor property changes. (Inherited from Control.) | 
| .gif) | BackgroundImageChanged | Infrastructure. Occurs when the value of the BackgroundImage property changes. This event is not relevant for this class. (Inherited from TextBoxBase.) | 
| .gif) | BackgroundImageLayoutChanged | Infrastructure. Occurs when the value of the BackgroundImageLayout property changes. This event is not relevant for this class. (Inherited from TextBoxBase.) | 
| .gif) | BindingContextChanged | Occurs when the value of the BindingContext property changes. (Inherited from Control.) | 
| .gif) | BorderStyleChanged | Occurs when the value of the BorderStyle property has changed. (Inherited from TextBoxBase.) | 
| .gif) | CausesValidationChanged | Occurs when the value of the CausesValidation property changes. (Inherited from Control.) | 
| .gif) | ChangeUICues | Occurs when the focus or keyboard user interface (UI) cues change. (Inherited from Control.) | 
| .gif) | Click | Occurs when the text box is clicked. (Inherited from TextBoxBase.) | 
| .gif) | ClientSizeChanged | Occurs when the value of the ClientSize property changes. (Inherited from Control.) | 
| .gif) | ContextMenuChanged | Occurs when the value of the ContextMenu property changes. (Inherited from Control.) | 
| .gif) | ContextMenuStripChanged | Occurs when the value of the ContextMenuStrip property changes. (Inherited from Control.) | 
| .gif) | ControlAdded | Occurs when a new control is added to the Control.ControlCollection. (Inherited from Control.) | 
| .gif) | ControlRemoved | Occurs when a control is removed from the Control.ControlCollection. (Inherited from Control.) | 
| .gif) | CursorChanged | Occurs when the value of the Cursor property changes. (Inherited from Control.) | 
| .gif) | Disposed | Occurs when the component is disposed by a call to the Dispose method. (Inherited from Component.) | 
| .gif) | DockChanged | Occurs when the value of the Dock property changes. (Inherited from Control.) | 
| .gif) | DoubleClick | Occurs when the control is double-clicked. (Inherited from Control.) | 
| .gif) | DragDrop | Occurs when a drag-and-drop operation is completed. (Inherited from Control.) | 
| .gif) | DragEnter | Occurs when an object is dragged into the control's bounds. (Inherited from Control.) | 
| .gif) | DragLeave | Occurs when an object is dragged out of the control's bounds. (Inherited from Control.) | 
| .gif) | DragOver | Occurs when an object is dragged over the control's bounds. (Inherited from Control.) | 
| .gif) | EnabledChanged | Occurs when the Enabled property value has changed. (Inherited from Control.) | 
| .gif) | Enter | Occurs when the control is entered. (Inherited from Control.) | 
| .gif) | FontChanged | Occurs when the Font property value changes. (Inherited from Control.) | 
| .gif) | ForeColorChanged | Occurs when the ForeColor property value changes. (Inherited from Control.) | 
| .gif) | GiveFeedback | Occurs during a drag operation. (Inherited from Control.) | 
| .gif) | GotFocus | Occurs when the control receives focus. (Inherited from Control.) | 
| .gif) | HandleCreated | Occurs when a handle is created for the control. (Inherited from Control.) | 
| .gif) | HandleDestroyed | Occurs when the control's handle is in the process of being destroyed. (Inherited from Control.) | 
| .gif) | HelpRequested | Occurs when the user requests help for a control. (Inherited from Control.) | 
| .gif) | HideSelectionChanged | Occurs when the value of the HideSelection property has changed. (Inherited from TextBoxBase.) | 
| .gif) | ImeModeChanged | Occurs when the ImeMode property has changed. (Inherited from Control.) | 
| .gif) | Invalidated | Occurs when a control's display requires redrawing. (Inherited from Control.) | 
| .gif) | IsOverwriteModeChanged | Occurs after the insert mode has changed. (Inherited from MaskedTextBox.) | 
| .gif) | KeyDown | Occurs when a key is pressed while the control has focus. (Inherited from Control.) | 
| .gif) | KeyPress | Occurs when a key is pressed while the control has focus. (Inherited from Control.) | 
| .gif) | KeyUp | Occurs when a key is released while the control has focus. (Inherited from Control.) | 
| .gif) | Layout | Occurs when a control should reposition its child controls. (Inherited from Control.) | 
| .gif) | Leave | Occurs when the input focus leaves the control. (Inherited from Control.) | 
| .gif) | LocationChanged | Occurs when the Location property value has changed. (Inherited from Control.) | 
| .gif) | LostFocus | Occurs when the control loses focus. (Inherited from Control.) | 
| .gif) | MarginChanged | Occurs when the control's margin changes. (Inherited from Control.) | 
| .gif) | MaskChanged | Occurs after the input mask is changed. (Inherited from MaskedTextBox.) | 
| .gif) | MaskInputRejected | Occurs when the user's input or assigned character does not match the corresponding format element of the input mask. (Inherited from MaskedTextBox.) | 
| .gif) | ModifiedChanged | Occurs when the value of the Modified property has changed. (Inherited from TextBoxBase.) | 
| .gif) | MouseCaptureChanged | Occurs when the control loses mouse capture. (Inherited from Control.) | 
| .gif) | MouseClick | Occurs when the control is clicked by the mouse. (Inherited from TextBoxBase.) | 
| .gif) | MouseDoubleClick | Occurs when the control is double clicked by the mouse. (Inherited from Control.) | 
| .gif) | MouseDown | Occurs when the mouse pointer is over the control and a mouse button is pressed. (Inherited from Control.) | 
| .gif) | MouseEnter | Occurs when the mouse pointer enters the control. (Inherited from Control.) | 
| .gif) | MouseHover | Occurs when the mouse pointer rests on the control. (Inherited from Control.) | 
| .gif) | MouseLeave | Occurs when the mouse pointer leaves the control. (Inherited from Control.) | 
| .gif) | MouseMove | Occurs when the mouse pointer is moved over the control. (Inherited from Control.) | 
| .gif) | MouseUp | Occurs when the mouse pointer is over the control and a mouse button is released. (Inherited from Control.) | 
| .gif) | MouseWheel | Occurs when the mouse wheel moves while the control has focus. (Inherited from Control.) | 
| .gif) | Move | Occurs when the control is moved. (Inherited from Control.) | 
| .gif) | MultilineChanged | Typically occurs when the value of the Multiline property has changed; however, this event is not raised by MaskedTextBox. (Inherited from MaskedTextBox.) | 
| .gif) | PaddingChanged | Infrastructure. This event is not relevant for this class. (Inherited from TextBoxBase.) | 
| .gif) | Paint | Infrastructure. Occurs when the control is redrawn. This event is not relevant for this class. (Inherited from TextBoxBase.) | 
| .gif) | ParentChanged | Occurs when the Parent property value changes. (Inherited from Control.) | 
| .gif) | PreviewKeyDown | Occurs before the KeyDown event when a key is pressed while focus is on this control. (Inherited from Control.) | 
| .gif) | QueryAccessibilityHelp | Occurs when AccessibleObject is providing help to accessibility applications. (Inherited from Control.) | 
| .gif) | QueryContinueDrag | Occurs during a drag-and-drop operation and enables the drag source to determine whether the drag-and-drop operation should be canceled. (Inherited from Control.) | 
| .gif) | ReadOnlyChanged | Occurs when the value of the ReadOnly property has changed. (Inherited from TextBoxBase.) | 
| .gif) | RegionChanged | Occurs when the value of the Region property changes. (Inherited from Control.) | 
| .gif) | Resize | Occurs when the control is resized. (Inherited from Control.) | 
| .gif) | RightToLeftChanged | Occurs when the RightToLeft property value changes. (Inherited from Control.) | 
| .gif) | SizeChanged | Occurs when the Size property value changes. (Inherited from Control.) | 
| .gif) | StyleChanged | Occurs when the control style changes. (Inherited from Control.) | 
| .gif) | SystemColorsChanged | Occurs when the system colors change. (Inherited from Control.) | 
| .gif) | TabIndexChanged | Occurs when the TabIndex property value changes. (Inherited from Control.) | 
| .gif) | TabStopChanged | Occurs when the TabStop property value changes. (Inherited from Control.) | 
| .gif) | TextAlignChanged | Occurs when the text alignment is changed. (Inherited from MaskedTextBox.) | 
| .gif) | TextChanged | Occurs when the Text property value changes. (Inherited from Control.) | 
| .gif) | TypeValidationCompleted | Occurs when MaskedTextBox has finished parsing the current value using the ValidatingType property. (Inherited from MaskedTextBox.) | 
| .gif) | Validated | Occurs when the control is finished validating. (Inherited from Control.) | 
| .gif) | Validating | Occurs when the control is validating. (Inherited from Control.) | 
| .gif) | VisibleChanged | Occurs when the Visible property value changes. (Inherited from Control.) | 
Top
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
| .gif) .gif) | IDropTarget.OnDragDrop | Infrastructure. Raises the DragDrop event. (Inherited from Control.) | 
| .gif) .gif) | IDropTarget.OnDragEnter | Infrastructure. Raises the DragEnter event. (Inherited from Control.) | 
| .gif) .gif) | IDropTarget.OnDragLeave | Infrastructure. Raises the DragLeave event. (Inherited from Control.) | 
| .gif) .gif) | IDropTarget.OnDragOver | Infrastructure. Raises the DragOver event. (Inherited from Control.) | 
Top
Remarks
The Microsoft.Office.Tools.Word.Controls.MaskedTextBox is different from a System.Windows.Forms.MaskedTextBox. The Microsoft.Office.Tools.Word.Controls.MaskedTextBox has additional members that enable it to be added to a Word document and that give it additional methods and properties.
Do not use the constructor to create a new MaskedTextBox. Use the AddMaskedTextBox() method to add a new MaskedTextBox to a document.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.