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)

public:
[BrowsableAttribute(false)]
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
Available since 2.0
Return to top
Show: