MaskedTextProvider::AsciiOnly Property

 

Gets a value indicating whether the mask accepts characters outside of the ASCII character set.

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

public:
property bool AsciiOnly {
	bool get();
}

Property Value

Type: System::Boolean

true if only ASCII is accepted; false if MaskedTextProvider can accept any arbitrary Unicode character. The default is false.

The AsciiOnly property's value is set in the MaskedTextProvider constructor.

If true, AsciiOnly restricts user input to the ASCII character set.

.NET Framework
Available since 2.0
Return to top
Show: