This question is locked. New answers and comments are not allowed.
Hello,
I would like to capture a currency value on a text field, I want the user to see it in a $ XXX.XX format. I tried to format the number using a Formatter but it didn't work:
var moneyFormatter = new NSNumberFormatter ();
moneyFormatter.NumberStyle = NSNumberFormatterStyle.Currency;
TKEntityProperty montoCobradoProperty = this.dataSource["MontoCobrado"];
montoCobradoProperty.HintText = "Monto Cobrado";
montoCobradoProperty.EditorClass = new Class (typeof(TKDataFormNumberEditor));
montoCobradoProperty.Validators = new NSObject[] { new NumberValidator() };
montoCobradoProperty.Formatter = moneyFormatter;
What am I doing wrong? is there any other way to achieve this request?
Thanks