Page 1 of 1

IValue Converter

Posted: Thu Jan 12, 2017 4:35 am
by Amrutha
Hello Team,

In the IValueConverter interface it is observed that the method definition is different as compared to the original one.

The one observed in CSHTML5 is

object Convert(object value, Type targetType, object parameter, string language);

and in the Silverlight is it :

object Convert(object value, Type targetType, object parameter, CultureInfo culture);

Will the existing interface definition in CSHTML5 be changed in any of the future releases to support CultureInfo ?

Thanks,
-A

Re: IValue Converter

Posted: Fri Jan 13, 2017 6:14 am
by JS-Support @Userware
Hello Amrutha,

The current signature is the one used in UWP, as documented at:
https://msdn.microsoft.com/library/windows/apps/windows.ui.xaml.data.ivalueconverter.aspx

UWP is the syntax used by the CSHTML5 projects created using the Professional Edition.

Yes, we are going to make the Silverlight version of the interface available in the projects created with the "Silverlight Migration Edition".

By the way, can you please describe which members of the CultureInfo class you need the most? This will help us prioritize the development.

Thanks.
Regards,
JS-Support