Intersoft.Client.UI.Aqua.UXInput Namespace > UXCurrencyEditor Class : EditMask Property |
<CategoryAttribute("Common Properties")> Public Property EditMask As String
Dim instance As UXCurrencyEditor 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); }
The UXCurrencyEditor accept standard and custom .NET numeric format in the EditMask. By default EditMask is c2.
Format Specifier | Description |
---|---|
C, c | Currency A currency value. |
D, d | Decimal Integer digits with optional negative sign. |
F, f | Fixed-point Integral and decimal digits with optional negative sign. |
N, n | Number Integral and decimal digits, group separators, and a decimal separator with optional negative sign. |
P, p | Percent Number multiplied by 100 and displayed with a percent symbol. |
Currently UXCurrencyEditor standard format will not accept custom group sizes. The group sizes will always be 3. |
Format Specifier | Description |
---|---|
0 | Zero placeholder Replaces the zero with the corresponding digit if one is present; otherwise, zero appears in the result string. |
# | Digit placeholder Replaces the pound sign with the corresponding digit if one is present; otherwise, no digit appears in the result string. |
. | Decimal point Determines the location of the decimal separator in the result string. |
, | Group separator and number scaling Replaces the pound sign with the corresponding digit if one is present; otherwise, no digit appears in the result string. |
% | Percentage placeholder Multiplies a number by 100 and inserts a localized percentage symbol in the result string. |
\ | Escape character Causes the next character to be interpreted as a literal rather than as a custom format specifier. |
'string', "string" | Literal string delimiter Indicates that the enclosed characters should be copied to the result string unchanged. |
; | Section separator Defines sections with separate format strings for positive, negative, and zero numbers. |
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