GrapeCity MultiRow Windows Forms Documentation
AsciiOnly Property


Gets or sets a value that indicates whether the MaskedTextBoxCell accepts characters outside of the ASCII character set.
Syntax
<RefreshPropertiesAttribute(RefreshProperties.Repaint)>
<SRCategoryAttribute("Behavior")>
<SRDescriptionAttribute("Indicates whether only ASCII characters are accepted as valid input.")>
<DefaultValueAttribute()>
Public Property AsciiOnly As Boolean
Dim instance As MaskedTextBoxCell
Dim value As Boolean
 
instance.AsciiOnly = value
 
value = instance.AsciiOnly
[RefreshProperties(RefreshProperties.Repaint)]
[SRCategory("Behavior")]
[SRDescription("Indicates whether only ASCII characters are accepted as valid input.")]
[DefaultValue()]
public bool AsciiOnly {get; set;}

Property Value

true if only ASCII is accepted; false if the MaskedTextBoxCell can accept any arbitrary Unicode character. The default is false.
Remarks
If true, AsciiOnly restricts user input to the characters a-z and A-Z. ASCII control characters are not allowed.
Requirements

Target Platforms: 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

MaskedTextBoxCell Class
MaskedTextBoxCell Members

 

 


Copyright © GrapeCity, inc. All rights reserved.