GraffitiCurrencyField

View Categories

Enumerations #

NameValues
StatesUnvalidated
Valid
Invalid

Constants #

This class exposes no constants.

Events #

NameParametersReturn TypeDescription
TextChangedNoneNoneThis event is fired when the text of the field is changed (IE: when a date or range is selected in the popup).

Methods #

This class does not expose any methods.

Properties #

NameTypeDefault ValueDescription
BracketNegativesString“(,)”Determines the display format of negative numbers:
(###,###)
[###,###]
{###,###}
<###,###>
CurrencySymbolString“”The symbol displayed for the currency such as:
$
USD
EUR
DecimalCharString“.”The character used to denote the decimal position.
DecimalCharAlternateString“,”Alternate character for decimal designation in addition to DecimalChar.
DecimalPlacesInteger2Number of decimal places to display.
DisplayEmptyString“empty”What to display when there is not numeric value in the field: empty, zero, sign
GroupCountInteger3Amount of numbers in each group, separated by the ThousandsSep.
MaximumValueDouble9999999999.99The maximum possible value the field allows.
MinimumValueDouble-9999999999.99The minimum possible value the field allows.
NegativeCharacterSymbolString“-“Symbol used to depict negative values.
PadDecimalBooleanFalseDetermines whether the decimal places will always be shown regardless of whether there is any decimal value to display.
ReadOnlyBooleanFalseWhen True the user cannot edit the display, but the control appears enabled.
RoundingStyleString“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
StatessStatesUnvalidatedAlters the control’s display to convey a validation state.
SymbolPlacementString“p”Determines placement of the currency symbol:
p = Prefix
s = Suffix
TextAlignmentTextAlignmentsTextAlignments.DefaultDetermines the positioning of the value within the field.
ThousandsSepString“,”The character used for separating groups of thousands.
ValueDouble0The double value of the display.
ValueString Read-OnlyString“”Returns the current formatted value in the display.

Examples #

There are currently no examples for this class.