MaskedTextBox::AsciiOnly Property
.NET Framework (current version)
Gets or sets a value indicating whether the MaskedTextBox control accepts characters outside of the ASCII character set.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Property Value
Type: System::Booleantrue if only ASCII is accepted; false if the MaskedTextBox control can accept any arbitrary Unicode character. The default is false.
If true, AsciiOnly restricts user input to the characters a-z and A-Z. ASCII control characters are not allowed.
.NET Framework
Available since 2.0
Available since 2.0
Show: