MaskedTextBox.AsciiOnly Eigenschap

Definitie

Hiermee wordt een waarde opgehaald of ingesteld die aangeeft of het MaskedTextBox besturingselement tekens accepteert buiten de ASCII-tekenset.

public:
 property bool AsciiOnly { bool get(); void set(bool value); };
public bool AsciiOnly { get; set; }
member this.AsciiOnly : bool with get, set
Public Property AsciiOnly As Boolean

Waarde van eigenschap

true indien alleen ASCII wordt geaccepteerd; false als het MaskedTextBox besturingselement willekeurige Unicode-tekens kan accepteren. De standaardwaarde is false.

Opmerkingen

Als true, AsciiOnly beperkt gebruikersinvoer tot de tekens a-z en A-Z. ASCII-besturingstekens zijn niet toegestaan.

Van toepassing op

Zie ook