Export (0) Print
Expand All

MaskedTextBox::FormatProvider Property

Gets or sets the IFormatProvider to use when performing type validation.

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

property IFormatProvider^ FormatProvider {
	IFormatProvider^ get ();
	void set (IFormatProvider^ value);

Property Value

Type: System::IFormatProvider
An object that implements the IFormatProvider interface.

FormatProvider determines which symbols are used for the currency, date, and other culture-specific mask placeholders when type validation occurs and the control has a non-null ValidatingType property.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft