I need to use a XamCurrencyEditor with multiple currency value. For example while screen have to display USD account currencyeditor will display 987,00 USD and while screen display Turkish Lira (TL) Account in the same currencyeditor, it will display 1.325,00 TL. Our clients regional settings language property is tr-TR. Could you help me please ?
I'm not sure what exactly you are asking for. The control cannot convert the value as it wouldn't have any notion of the exchange rate or what denomination the source value is. You would probably have to put a converter on your binding and manipulate the value. With regards to the currency symbols used, you could change the Language property or FormatProvider properties.
Ok, I will try to explain more. there is not any exchange process and I dont need to know exchange rate I want to display USD or TL or EURO near decimal value into a CurrencyEditor when I want.
For Example:
<Window x:Class="WpfApplication2.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:igEditors="http://infragistics.com/Editors"
Title="Window1" Height="300" Width="300">
<Grid>
<igEditors:XamCurrencyEditor Value="1000" Language="tr-TR" Height="30"></igEditors:XamCurrencyEditor>
</Grid>
</Window>
will show 1.000,00 TL
<igEditors:XamCurrencyEditor Value="1000" Language="en-US" Height="30"></igEditors:XamCurrencyEditor>
will show $1,000.00
I want to like below
<igEditors:XamCurrencyEditor Value="1000" Currency="USD" Height="30"></igEditors:XamCurrencyEditor>
must show 1.000.00 USD
<igEditors:XamCurrencyEditor Value="1000" Currency="TL" Height="30"></igEditors:XamCurrencyEditor>
must show 1.000,00 TL
How can I apply?
<