Intersoft ClientUI Documentation
EditMask Property
See Also  Send Feedback
Intersoft.Client.UI.Aqua.UXInput Namespace > UXMaskedInput Class : EditMask Property






Gets or sets the edit mask pattern.

Syntax

Visual Basic (Declaration) 
<CategoryAttribute("Common Properties")>
Public Property EditMask As String
Visual Basic (Usage)Copy Code
Dim instance As UXMaskedInput
Dim value As String
 
instance.EditMask = value
 
value = instance.EditMask
C# 
[CategoryAttribute("Common Properties")]
public string EditMask {get; set;}
Delphi 
public read-write property EditMask: String; 
JScript 
CategoryAttribute("Common Properties")
public function get,set EditMask : String
Managed Extensions for C++ 
[CategoryAttribute("Common Properties")]
public: __property string* get_EditMask();
public: __property void set_EditMask( 
   string* value
);
C++/CLI 
[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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.