MaskedTextBox.FormatProvider Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: