[]
Imposes the specified numeric formatting options on the current TextField.
Note that this method initializes the values of Field.Events.FormatValue and Field.Events.KeyPress only, it does not change the field's value or widget appearance streams.
public void SetNumberFormat(int decimalPlaces, Field.NumberSeparatorStyle separatorStyle, Field.NumberNegativeStyle negativeStyle, string currencySymbol, Field.CurrencySymbolStyle currencySymbolStyle)
Public Sub SetNumberFormat(decimalPlaces As Integer, separatorStyle As Field.NumberSeparatorStyle, negativeStyle As Field.NumberNegativeStyle, currencySymbol As String, currencySymbolStyle As Field.CurrencySymbolStyle)
Type | Name | Description |
---|---|---|
int | decimalPlaces | The number of digits that appear to the right of the decimal point. Valid values are from 0 to 10, inclusive. |
Field.NumberSeparatorStyle | separatorStyle | The placement of commas and periods, see Field.NumberSeparatorStyle. |
Field.NumberNegativeStyle | negativeStyle | How negative numbers are displayed. |
string | currencySymbol | The currency symbol, or null or empty string. |
Field.CurrencySymbolStyle | currencySymbolStyle | The location of the currency symbol in relation to the number.
This parameter is meaningful only if |