FormatProvider Property

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)

[BrowsableAttribute(false)]
public IFormatProvider FormatProvider { get; set; }

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:
© 2016 Microsoft