﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - Crosslight - How to Use Crosslight v2 IValueConverter in BindingProvider Objects?</title><link>http://www.intersoftsolutions.com/Community/Crosslight/How-to-Use-Crosslight-v2-IValueConverter-in-BindingProvider-Objects/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>How to Use Crosslight v2 IValueConverter in BindingProvider Objects?</title><link>http://www.intersoftsolutions.com/Community/Crosslight/How-to-Use-Crosslight-v2-IValueConverter-in-BindingProvider-Objects/</link><pubDate>Wed, 27 Aug 2014 00:46:01 GMT</pubDate><dc:creator>Hans</dc:creator><description>&lt;p&gt;Hallo,&lt;br&gt;&lt;br&gt;Thanks for your patience. &lt;a href="http://git.intersoftpt.com/projects/CROS/repos/updates/browse/Crosslight2_0_5000_76"&gt;Build 76&lt;/a&gt; is now available in our nightly build server which addressed this issue. Please give it a spin and let us know how it works in your end.&lt;br&gt;&lt;br&gt;For complete details, see &lt;a href="http://developer.intersoftpt.com/display/crosslight/Crosslight+2.0+Update+4+Release+Notes"&gt;Update 4 Release Notes&lt;/a&gt;.&lt;br&gt;&lt;br&gt;Hope it helps!&lt;br&gt;&lt;/p&gt;</description></item><item><title>How to Use Crosslight v2 IValueConverter in BindingProvider Objects?</title><link>http://www.intersoftsolutions.com/Community/Crosslight/How-to-Use-Crosslight-v2-IValueConverter-in-BindingProvider-Objects/</link><pubDate>Fri, 22 Aug 2014 06:47:47 GMT</pubDate><dc:creator>Hans</dc:creator><description>Hello,&lt;br&gt;&lt;br&gt;Thank you for the valued feedback.&lt;br&gt;&lt;br&gt;I have report this problem to the developer team, under work item CROS-521.&lt;br&gt;&lt;br&gt;I will let you know if there is an update regarding this problem&lt;br&gt;&lt;br&gt;I apologize for the inconvenience.&lt;br&gt;&lt;br&gt;Regards,&lt;br&gt;Hans K.</description></item><item><title>How to Use Crosslight v2 IValueConverter in BindingProvider Objects?</title><link>http://www.intersoftsolutions.com/Community/Crosslight/How-to-Use-Crosslight-v2-IValueConverter-in-BindingProvider-Objects/</link><pubDate>Thu, 21 Aug 2014 07:33:11 GMT</pubDate><dc:creator>dfugaban@silentpartnersoft.com</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;&lt;br&gt;We have a code snippet below, but this isn't working for BindingProviders. Well, not for null values anyway. See, that's the thing... what if you want to convert a null value into something else? Why is IValueConverter.Convert not being triggered if the value bound to a property is null? If we're missing something, please let us know.&lt;br&gt;&lt;br&gt;&lt;/p&gt;&lt;pre&gt;var p_ActualCash = new BindingDescription("Item.ActualCash") { StringFormat = "{0:c2}", Converter = new NullValueConverter() };
var p_ActualToken = new BindingDescription("Item.ActualToken") { StringFormat = "{0:n0}", Converter = new NullValueConverter() };

this.AddBinding("ActualCashLabel", BindableProperties.TextProperty, p_ActualCash);
this.AddBinding("ActualTokeLabel", BindableProperties.TextProperty, p_ActualToken);&lt;/pre&gt;&lt;p&gt;&lt;br&gt;The goal of this is to display zero instead of empty string when the value bound to a Text property is null. And the StringFormat should be able to format the zero value. We could use TextField controls and assign placeholder values but that's just a weak solution, especially since currency symbols depend on mobile's culture info. Please advise.&lt;/p&gt;</description></item></channel></rss>