GraffitiCurrencyField

Enumerations #

Name Values
States Unvalidated
Valid
Invalid

Constants #

Name Type Value
This class exposes no constants.

Events #

Definition Description
TextChanged() This event is fired when the text of the field is changed (IE: when a date or range is selected in the popup).

Methods #

Definition Description
This class does not expose any methods.

Properties #

Name Type Default Value Description
BracketNegatives String “” Determines the display format of negative numbers:
(###,###)
[###,###]
{###,###}
<###,###>
CurrencySymbol String “” The symbol displayed for the currency such as:
$
USD
EUR
DecimalChar String “.” The character used to denote the decimal position.
DecimalCharAlternate String “,” Alternate character for decimal designation in addition to DecimalChar.
DecimalPlaces Integer 2 Number of decimal places to display.
DisplayEmpty String “empty” What to display when there is not numeric value in the field: empty, zero, sign
GroupCount Integer 3 Amount of numbers in each group, separated by the ThousandsSep.
MaximumValue Double 9999999999.99 The maximum possible value the field allows.
MinimumValue Double -9999999999.99 The minimum possible value the field allows.
PadDecimal Boolean False Determines whether the decimal places will always be shown regardless of whether there is any decimal value to display.
ReadOnly Boolean False When True the user cannot edit the display, but the control appears enabled.
RoundingStyle String “S” S = Round Half Up Symmetrical
A = Round Half Up Asymmetrical
s = Round Half Down Symmetrical
a = Round Half Down Asymmetrical
B = Round Half Even
U = Round Up
D = Round Down
C = Round to Ceiling
F = Round to Floor
Statess States Unvalidated Alters the control’s display to convey a validation state.
SymbolPlacement String “p” Determines placement of the currency symbol:
p = Prefix
s = Suffix
ThousandsSep String “,” The character used for separating groups of thousands.
Value Double 0 The double value of the display.
ValueString Read-Only String “” Returns the current formatted value in the display.

Examples #

There are currently no examples for this class.