Xceed DataGrid for WPF v7.2 Documentation
RestrictToAscii Property


Xceed.Wpf.Controls Assembly > Xceed.Wpf.Controls Namespace > MaskedTextBox Class : RestrictToAscii Property
Gets or sets a value indicating ig the masked text box accepts non-ASCII characters.
Syntax
'Declaration
 
Public Property RestrictToAscii As Boolean
'Usage
 
Dim instance As MaskedTextBox
Dim value As Boolean
 
instance.RestrictToAscii = value
 
value = instance.RestrictToAscii
public bool RestrictToAscii {get; set;}

Property Value

true if non-ASCII characters are accepted; false otherwise. By default, false.
Requirements

Target Platforms: Windows 11, Windows, 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

MaskedTextBox Class
MaskedTextBox Members