MaskedTextBox.Culture Property

 

Gets or sets the culture information associated with the masked text box.

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

public CultureInfo Culture { get; set; }

Property Value

Type: System.Globalization.CultureInfo

A CultureInfo representing the culture supported by the MaskedTextBox.

Exception Condition
ArgumentNullException

Culture was set to null.

.NET Framework
Available since 2.0
Return to top
Show: