Hi Roger,
Thank you for using Syncfusion products.
Query #1: Is there a way to get it to display consistently on the left ?
Yes, you can display the currency symbol in left by setting Culture.NumberFormat.CurrencyPositivePattern = 0. We have prepared a sample for achieving this requirement.
Query #2:is there a way to specify the Currency symbol directly?
Currently there is no support in SfNumericTextBox to specify currency symbol directly. You can set it through Culture.NumberFormat.CurrencySymbol only.
Please let us know whether the provided sample meets your requirement.
Regards,
Jessie
Attachment: NumericTextBox_117474_cb30667e.zip
Hi, thank you for your response. The sample you posted correctly puts the currency symbol at the beginning of the control and puts a space after the symbol which is what I want.
Even with your sample, i could not change the decimal amount.
From the same sample you created and posted in the previous reply, change the method in MainPage.cs to read like this:
public MainPage()
{
InitializeComponent();
var cultureInfo = new System.Globalization.CultureInfo("en-ZA");
cultureInfo.NumberFormat.CurrencyNegativePattern = 0;
numeric.Culture = cultureInfo;
// Sample code to localize the ApplicationBar
//BuildLocalizedApplicationBar();
}
Now try and edit the amount and specify a decimal amount. You will notice that the numeric control does not allow any decimal values. It does not respond to the decimal values