System.Windows.Forms.MaskedTextBox.AsciiOnly Property

Gets or sets a value indicating whether the System.Windows.Forms.MaskedTextBox control accepts characters outside of the ASCII character set.

Syntax

[System.ComponentModel.DefaultValue(false)]
[System.ComponentModel.RefreshProperties(System.ComponentModel.RefreshProperties.Repaint)]
public bool AsciiOnly { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

If true, MaskedTextBox.AsciiOnly restricts user input to the characters a-z and A-Z. ASCII control characters are not allowed.

Requirements

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