System.Windows.Forms.MaskedTextBox.MaskedTextProvider Property

Gets a clone of the mask provider associated with this instance of the masked text box control.

Syntax

[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
[System.ComponentModel.Browsable(false)]
public System.ComponentModel.MaskedTextProvider MaskedTextProvider { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The MaskedTextBox.MaskedTextProvider property defines the mask-parsing engine and the masking language used by the System.Windows.Forms.MaskedTextBox control. The default provider is the System.ComponentModel.MaskedTextProvider class; however, a custom provider can be specified using the MaskedTextBox.#ctor(System.ComponentModel.MaskedTextProvider) constructor.

MaskedTextBox.MaskedTextProvider cannot be set directly. However, setting some of the properties of System.Windows.Forms.MaskedTextBox—such as MaskedTextBox.Mask, MaskedTextBox.AllowPromptAsInput, MaskedTextBox.AsciiOnly, and MaskedTextBox.Culture—may internally cause the creation of a new MaskedTextBox.MaskedTextProvider.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0