Intersoft.Client.UI.Aqua.UXInput Namespace > UXNumericUpDown Class : EditMask Property |
<CategoryAttribute("Common Properties")> Public Property EditMask As String
Dim instance As UXNumericUpDown 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 UXNumericUpDown accept standard and custom .NET numeric format in the EditMask and DisplayMask. Some of the format is not parsed in EditMask because it is only used as a display format.
Valid EditMask | Format Specifier | Description |
---|---|---|
V | C, c | Currency A currency value. |
V | D, d | Decimal Integer digits with optional negative sign. |
X | E, e | Exponential (scientific) Exponential notation. |
V | F, f | Fixed-point Integral and decimal digits with optional negative sign. |
X | G, g | General The most compact of either fixed-point or scientific notation. |
V | N, n | Number Integral and decimal digits, group separators, and a decimal separator with optional negative sign. |
V | P, p | Percent Number multiplied by 100 and displayed with a percent symbol. |
X | R, r | Round-trip A string that can round-trip to an identical number. |
X | X, x | Hexadecimal A hexadecimal string. |
Currently UXNumericUpDown standard format will not accept custom group sizes. The group sizes will always be 3. |
Valid EditMask | Format Specifier | Description |
---|---|---|
V | 0 | Zero placeholder Replaces the zero with the corresponding digit if one is present; otherwise, zero appears in the result string. |
V | # | Digit placeholder Replaces the pound sign with the corresponding digit if one is present; otherwise, no digit appears in the result string. |
V | . | Decimal point Determines the location of the decimal separator in the result string. |
V | , | 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. |
V | % | Percentage placeholder Multiplies a number by 100 and inserts a localized percentage symbol in the result string. |
X | E0, E+0, E-0, e0, e+0, e-0 | Exponential notation If followed by at least one 0 (zero), formats the result using exponential notation. The case of "E" or "e" indicates the case of the exponent symbol in the result string. The number of zeros following the "E" or "e" character determines the minimum number of digits in the exponent. A plus sign (+) indicates that a sign character always precedes the exponent. A minus sign (-) indicates that a sign character precedes only negative exponents. |
V | \ | Escape character Causes the next character to be interpreted as a literal rather than as a custom format specifier. |
V | 'string', "string" | Literal string delimiter Indicates that the enclosed characters should be copied to the result string unchanged. |
V | ; | 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