Intersoft ClientUI Documentation
EditMask Property (UXMaskedInput)



Gets or sets the edit mask pattern.
Syntax
<CategoryAttribute("Common Properties")>
Public Property EditMask As String
Dim instance As UXMaskedInput
Dim value As String
 
instance.EditMask = value
 
value = instance.EditMask
[CategoryAttribute("Common Properties")]
public string EditMask {get; set;}
[CategoryAttribute("Common Properties")]
public:
property String^ EditMask {
   String^ get();
   void set (    String^ value);
}

Property Value

 

Remarks

The EditMask property accept these format:

Character Description
0 Digit (0 to 9, entry required, plus [+] and minus [–] signs not allowed).
9 Digit or space (entry not required, plus and minus signs not allowed).
# Digit or space (entry not required; spaces are displayed as blanks while in Edit mode, but blanks are removed when data is saved; plus and minus signs allowed).
L Letter (A to Z, entry required).
? Letter (A to Z, entry optional).
A Letter or digit (entry required).
a Letter or digit (entry optional).
& Any character or a space (entry required).
C Any character or a space (entry optional).
< Causes all characters to be converted to lowercase.
> Causes all characters to be converted to uppercase.
\ Causes the character that follows to be displayed as the literal character (for example, \A is displayed as just A).

By default the EditMask is set to aaaaa.

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

UXMaskedInput Class
UXMaskedInput Members

Concepts

UXMaskedInput

Send Feedback